I have a Dotnetnuke site where my main logo is a PNG file using transparency. I tried GIF but the quality wasn't good enough.

Anyways it worked great on IE7 but I just saw my site in IE6 and noticed that the transparency isn't working with my logo.

Does anyone know of a quick way to fix this in a dotnetnuke portal?

+1  A: 

ie6 doesn't support transparent png's. it isn't a dot net nuke issue. you could try looking into some javascript solutions that help with ie6.

Darren Kopp

Googling "pngfix" should find a lot of different techniques for enabling alpha transparency in IE6.

One common one is a HTC behaviour file.

+5  A: 

I don't know that it's a dot net nuke issue as much as it is ie6. Anyways, here's a site that shows you how to work around IE6's png issues. Hope it helps.

Ryan Lanciaux

It has nothing to do with dotNetNuke, it's an IE6 thing. IE6 doesn't do very well with certain transparent PNG.

Joel Coehoorn

You can't. IE6 only supports a specific, and visually ugly, version of PNG transparency. I believe its PNG-8.

You can use a conditional comment to handle IE6 differently:

<!--[if IE 6]>

Thanks everyone for your answers!

There are some discussions regarding this on forums, but I had the wrong date criteria in my search so the reason I didn't see any responses previously and thought I would ask here.

I think I found what I am looking for from a dotnetnuke perspective its a module that you install on your page which fixes this problem automatically. But unfortunately you have to pay for it. (I won't post the link since I don't want people thinking I was am asking just to advertise for them.)


Does anybody know how to add conditional comments to a Dot Net Nuke Skin? E.g:

<!--[if IE]> <link rel="stylesheet" type="text/css" href="ie.css" /> <![endif]-->

Everytime I parse the skin using Dot Net Nuke it removes the IE so that it reads:

<!--[if]> <link rel="stylesheet" type="text/css" href="ie.css" /> <![endif]-->

and breaks!

Is there any way to bypass it from parsing the [if IE]?

Does anybody actually enjoy skinning DNN?

You will have better luck if you ask this as a separate question. Or search the DNN forums.