(I am using IE 6 to test my pages) but looking for a transparency fix for any version of Internet Explorer that needs it...GOD I hate IE, but I don't know who else is using it, so I guess I will have to suffer w/ a fix for now. But why
look into the supersleight javascript. That is what we use on our website and it works for all versions of IE. It takes a bit of playing around with but it works.
__________________
SEO Compatible Please login or register to view this content. Registration is FREE
I just tried it, and it doesn't work. the page loads and quickly dissapears. I noted just before the page went blank, the png was not transparent (white edges)...I tried removing the clear.gif image, and I got a box w/ the red x in replace of my png image.
Any other ideas? Or should I just recommend Firefox as the browser of choice?
-Brian
<span style="width:71px;height:25px; cursor:hand;display:inline-block;
/* the height and width should match those of the image */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='yourimage.png'); "><img style="filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);"
src="yourimage.png" width="71" height="25" border="0" alt=""></span>
Thanks for the replies, but I decided I am going to just stick to Firefox as the browser of choice for now, unless I get a higher percent of Microsoft IE users hitting my page. I am logging the users browser and resolution so that will tell all.
you can also use .gif if you want some tranparency, but .png? i think there will always be a problem in transparency when in IE... haha, i hate IE too but i got to be used to it...
Thanks for the replies, but I decided I am going to just stick to Firefox as the browser of choice for now, unless I get a higher percent of Microsoft IE users hitting my page.
I love Firefox as much as most of the people here, but the vast majority of people use a version of Explorer as their primary browser. It is wise to optimize for it.
PNG fixes aren't always perfect, however, so sometimes I send Jpegs and a slightly different layout to IE6.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE .