Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PNG transparency in IE 6

Featured Replies

I know this is a common problem, but I can't find any fixes/hacks for this anywhere. It's a real pain, as a lot of the images on my site are PNGs. Works like a charm in Firefox, but in IE looks an absolute bugger. Really annoying. So any fixes/hacks would be really appreciated.

 

Thanks :)

Hi,

 

You can use a CSS hack for this or indeed the AlphaImageLoader technique but these are complicated and can be troublesome.

 

I would recommend using conditional comments to serve specific style instructions to IE 6. In the CSS point to a transparent GIF instead of a PNG file.

 

The quality of the GIF and its transparency may not be as good as the PNG version but at least you'll be able to display your design the way you intended, all be it of slight less quality.

  • Author

Right, thanks. I was thinking of a CSS hack, but I couldn't find any. Do you know of any good ones? I may use GIFs now, instead of PNGs. Depends if I can get a good CSS hack.

 

Argh, bloody Internet Explorer!

  • 5 weeks later...
Right, thanks. I was thinking of a CSS hack, but I couldn't find any. Do you know of any good ones? I may use GIFs now, instead of PNGs. Depends if I can get a good CSS hack.

 

Argh, bloody Internet Explorer!

 

 

There is so easy way to fix this problem

 

http://www.sailboatvn.com/web-development/...6-supersleight/

 

All the bests,

 

Dave

Seriously there are dozens of ways of doing it.

 

I personal use the jQuery fix (because I already use jQuery) - it's so easy.

 

*you'll never get a repeating background image to work - and with the jQuery one a:hover image changes don't work either.

...or there's the option of not bothering and letting it degrade gracefully, but depends on your target user base.

  • 6 months later...

I think using a GIF file format only if the IE is less than 7, sounds the best. Just call the GIF files with a seperate style sheet.

Havent done this before, so will be trying it out later!!

 

Also, How can i check in IE6? I have vista. Browsershots i know, any other ways?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.