Zen Cart Logo
Forums / General Questions / The Pathetic MS IE6 and PNG

The Pathetic MS IE6 and PNG

Locked

Views: 731

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Aug 2010, 4:12 PM
#1
zenhomeboy avatar

zenhomeboy

New Zenner

Join Date:
Jul 2010
Posts:
20
Plugin Contributions:
0

The Pathetic MS IE6 and PNG

GREETZ

it's a shame that iin 201[01] we're still fighting this one, but it's a fact of life. we love .png and Bill hates it. and there IS still some IE6 out there.

my logo looks like crap in a gif and is pristine as a png-24. and i'm sticking to it.

introducing pngfix. I've searched the forum to find out what file it needs to be coded into, and no joy.

can someone help?

ADVthanxANCE

the zen Homeboy

7 Aug 2010, 10:12 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: The Pathetic MS IE6 and PNG

In my quest to keep websites as script-free as possible, I'll throw in my $.02 worth and suggest that seems like a lot of trouble to go to for one image, in a browser that will continue to lose share. How's your logo look as a .jpg ? - far as I know, IE6 is cool with those.

You could also call the logo in the stylesheet as a background image in #logoWrapper, rather than in header.php, then add an IE6-specific stylesheet to use a different image.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=493

7 Aug 2010, 5:08 PM
#3
zenhomeboy avatar

zenhomeboy

New Zenner

Join Date:
Jul 2010
Posts:
20
Plugin Contributions:
0

Re: The Pathetic MS IE6 and PNG

I'm not all that thrilled about introducing some js either ... it's just that pngfix has been the best solution i've ever found for supporting transparent png's in IE<7. As you probably know it's not really "a lot of trouble" - the code is quite compact.
The other thing is i foresee using some other transparent graphics throughout the site. I'd gladly use a gif, but i use photoshop and the resultant files never compare well to the png-24's. maybe i need to create better transparent gif's.
i also thought of using a straight jpg that included the alpha'd parts of the logo but then trying to align the logo so they'd be invisible against the rest of the background would be a css nightmare for me.

URL: http://b o d y b y b a m b o o . c o m

there is one bg-image for all of page-specific #mainWrapper - it is different for each category page. to use anything but a trans for the logo would require what? absolute positioning in the css? and that might even bomb in various browsers.

so how do others support transparent png's in their designs?

an IE specific section in the css would still have to address the transparency issue, non?

thanx for taking the time.

7 Aug 2010, 7:56 PM
#4
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: The Pathetic MS IE6 and PNG

zenHomeboy:

so how do others support transparent png's in their designs?
Have you tried attaching the color palette to the image!

I use png's where ever I can to replace gif's, jpg's for other image elements... all my buttons are png's with a transparent background. I use IE6 as one of my testing browsers.... don't have any issues with transparency.

If you don't attach the color palette, then IE has problems...

8 Aug 2010, 7:22 AM
#5
zenhomeboy avatar

zenhomeboy

New Zenner

Join Date:
Jul 2010
Posts:
20
Plugin Contributions:
0

Re: The Pathetic MS IE6 and PNG

Thank you for that, davewest, something else new for me to look at and learn about!