3 ms·
Good tips; but definitely common sense-type stuff. I was expecting a cross-browser PNG transparency article, since that's kind of the real difficulty with PNGs.
by superchink 18y ago
Good tips; but definitely common sense-type stuff. I was expecting a cross-browser PNG transparency article, since that's kind of the real difficulty with PNGs.
- deleted 18y ago[deleted]
- scorxn 18y agoGotta use a div instead of an img, plus some proprietary ie6 CSS. Doesn't validate as posted (needs a touch of browser detection), but you get the gist. div#logo { background: url(logo.png); width: 300px; height: 100px; } * html div#logo { background: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://domain.tld/logo.png',sizingMethod='scale'); }