April 29, 201016 yr Hello Guys, Whats the best image format for transparancy? as if i use PNG its incompatible with early browsers, but if i use GIF i have a white line around my image...
April 29, 201016 yr For the white border, you want to set your Matte color to match what ever background it will be on. For the 24-png transparency (IE6 is the only one who doesn't support the alpha transparency of the 24-png) You'll have two choices. Use a JS file to fix the issue. SuperSleight, Dean Edwards Fix, and UnitPngFix are popular ones. Or use CSS: filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(...); placing the image where the ... is. The downside is that it is invalid CSS. I much prefer to use Unitpngfix or Dean Edwards.
April 29, 201016 yr I personally use png and the unit png fix, although it has problems with background position in ie6, which can be a pain if you use a lot of sprites but apart from that it works well. link: http://labs.unitinteractive.com/unitpngfix.php
Create an account or sign in to comment