Hi Im new to CSS. I encountered a problem in IE6.I have this code in my IE6.css :. But its commented out for rectification of some other issue using flash file. But popupBg.png when opened for the download button gives a shadow which it should not. How shoul i go about it
NEVER use png files - they are massive and will slow the loading time down. Use a .gif with transparent option - can do either with macromedia or photoshop. If you're using macromedia, check out their help section on creating transparent gifs. It's not intuitive but can be done. When designing, bear in mind that transparent gifs do not always appear as well as a jpeg - it flattens layers down and some box shadows don't always work well.
Well it is a known bug in IE and as far as I remember there was a FIX for that in the windows update as well.
I'm sorry, but this is terrible advice and inaccurate, at best. This statement the exact opposite of my experience. I will quote from W3... "PNG also compresses better than GIF in almost every case (5% to 25% in typical cases)." - http://www.w3.org/QA/Tips/png-gif. Take a look at this article for detailed information relating to IE6 and alpha transparency workarounds. You may find your answer there.