/ Published in: CSS
Apparenttly this does NOT work locally. You MUST view the page on a server. Otherwise the PNG will not show up /at all/ in IE6.
UPDATE: wfdev commented and said that this WILL work locally, but the path to the PNG must be relative to the HTML file, not the CSS file. I haven't tested yet, but that sounds right to me.
Also commenter silvan pointed out a typo, which I fixed. Thanks!
Expand |
Embed | Plain Text
div.thingy { height: 100px; width: 100px; position: relative; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/girl_small.png', sizingMethod='scale'); } * > .thingy { background-image: url(images/girl_small.png); }
Comments
Subscribe to comments
You need to login to post a comment.

You would at least imagine it would work on a local apache server... =/
@Moyo, try using the IP address of your server, or a domain name with a dot in it, instead of "localhost"? Ymmv, it's been a while since I've had the pleasure of working in IE 6.
It doesn't have to be on a server it's just that the src needs to be relative to the html page & not the CSS
thanks for the hint.
The second class definition should be with the ": url":