Variable width button using CSS and IE AlphaImageLoader filter for hover state

So this client is looking for a unique solution to a variable width button problem.  To get the variable width issue resolved, I used the sliding doors CSS method to get the button to look correct.  Unfortunately what this does is break the image into separate elements, and now I have no way to control the background state of both elements.  The css is included below, and I know this works correctly in IE.  Now what I need is for the

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=image src='images/yellow.button.left.png');

to change the background element of both images.  Maybe this isn’t the best way to do this, but I need it to work properly.

Any suggestions?

<style type="text/css">
<!--
.buttonYellow {
    float:left;
    width:auto;
    font-size:11px;
    font-weight:bold;
    line-height:normal;
    }
.buttonYellow ul {
    margin:0;
    padding:0;
    list-style:none;
}
.buttonYellow li {
      float:left;
      margin:0;
      padding:0;
      background: url(images/yellow.button.right.png) no-repeat right top;
}
.buttonYellow a {
      display:block;
      background: url(images/yellow.button.left.png) no-repeat left top;
      text-decoration:none;
      color:#FFF;
      padding: 4px 11px 6px;
}
.buttonTellow a:hover {
      filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=image src='images/yellow.button.left.on.png');
}
-->
  </style>

<div class="buttonYellow"><ul><li><a href="#">Charlie</a></li></ul></div>
TankDesignAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

trailblazzyr55Commented:
Hi TankDesign, do you have a link to your page?
0
TankDesignAuthor Commented:
Absolutely.

I made a page with where I'm at plus the other images.

http://www.davekilkenny.com/tank/buttonTemp.html

Thanks for your help
0
trailblazzyr55Commented:
here's a page on my test site that has what you're looking for, look at the view source to see how it's done...

http://www.cfusionx.com/demo/demo2.cfm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TankDesignAuthor Commented:
Is there any way to get it done with the transparency filter?
0
trailblazzyr55Commented:
alrighty, here's a link with a tutorial on how to use that gradient for IE only, this talks about buttons, but it can be adapted for tabs as well..

http://www.webreference.com/programming/css_stylish/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.