Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davecuse

macrumors 6502
Original poster
Feb 20, 2004
419
0
NYC
I'm having some issues with the background color of my header image matching the background color of my website. My CSS defines the background color of the header as #34301D, I've gone into Photoshop and filled the background color of my logo as the same. I then do a Save for Web in photoshop and create header.png as PNG 24. The background color of the image appear fine in Safari, Firefox begins to to show a slight differentiation, then when I checked on IE6 it looks like 2 completely different colors.

Alternatively is there a way that I'm just not aware of to force IE to support alpha transparency?
 
kingjr3 said:
what about using a single pixel image with the same color/format as your header image as the background "color"?

I considered that too, after consulting my old friend google there are a few hacks around to make IE5.5 and newer compliant with PNGs.

I'm trying to implement this one right now, but I'm getting mixed results.
http://koivi.com/ie-png-transparency/

I'll report back if I get it working properly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.