> > One thing to be aware of is PNG color-shifting in IE. If you try to use > a non-transparent PNG with non-square edges and "fill in" the background > color, then place it inside a region with a CSS background-color, they > may not match up exactly, even with supposedly the same hex values. Even > when opening the PNG in Photoshop, it will show the PNG as having the > correct hex value. In these circumstances, it's best just to use a 10x10 > pixel flat color PNG as your background-image for the container region. > Don't use smaller tiles than 10x10 (i generally go for at least 20x20 > myself) as this puts a lot of strain on the client and you may get > strange rendering glitches, especially on older machines. > > Of course, similar problems arise with JPEGs, especially when saved at > low-quality, but at least with JPEGs you can validate the hex value > shift in Photoshop. > > david
That is an interesting tip I didn't know about. I've always preffered PNGs for their quality and for being free (as in freedom ;-))... I've found something in a page ( http://www.cristalab.com/tips/21618/png-con-transparencia-alpha-en-internet-explorer) suposed to correct transparency problems, which I don't quite understand. What do you think?: filter:progid:DXImageTransform.Microsoft.AlphaImageLoader» (src='imagen.png',sizingMethod='scale'); <img src="imagen.png" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='imagen.png',sizingMethod='scale');" alt="" /> There's also a way of coming around png problems in IE using javascript. http://www.aoyama.com.mx/foros/viewtopic.php?t=24 ______________________________________________________________________ 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/