Hi all,

I know that there are a number of hacks to make IE (<7) behave with 
regards to the alpha transparency of PNG images, however I was wondering 
if any of them have a solution for PNG images, that are applied as 
background images, on elements/selectors other than the img.

e.g. I know, that this will work...

img {
  /*MSIE Hack*/
  behavior: url('fixPNGinIE.htc');
}

As it will add logic to all the image tags, and fix them...

but does anyone have a fix for this one?

.foo {
  background-image: url(test.png);
  background-repeat: repeat-x;
  /* ????? */
}

E.g. the problem here, is that there is no width or height to "play" 
with... since a.) It repeats, and b.) there is no size supplied on the 
element, with the "foo" class.

Cheers,
Steve

PS I am aware that this somewhat pushes the "CSS" relatedness of this 
post, since it brings up behaviours, JavaScript, etc. but I hope you can 
see the relivance.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to