Zen Cart Logo

transparent gif

Locked

Views: 1,717

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Jul 2007, 1:48 PM
#1
profetia avatar

profetia

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

transparent gif

Hi

As far as I know IE cant display transparent images. Is there a work around in zencart for this?
I have this image in image folder called pixel_trans.gif.
I suppose this image is transparent but I can see it on my shop.

1 Jul 2007, 2:19 PM
#2
inovermyhead avatar

inovermyhead

Zen Follower

Join Date:
Feb 2007
Posts:
154
Plugin Contributions:
0

Re: transparent gif

Good morning, Profetia .. IE can indeed display transparent GIFs as transparent. Maybe the pixel_trans.gif isn't really transpatent ?

2 Jul 2007, 7:37 AM
#3
profetia avatar

profetia

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

Re: transparent gif

Good morning

Im sorry, It was png files that IE had problem with but still the transparent image is visible

have a look at this link
http://213.89.142.169/shop/index.php?main_page=product_info&cPath=1_5&products_id=229

if you over the 'people who bought this product also bought...' box to the left you can see a small square that shouldnt be there.
it is the pixel_trans.gif image doing that.

if you look at thisl ink
http://213.89.142.169/shop/includes/templates/sture/images/pixel_trans.gif
you can see that the image is transparent. (you cant see it at all thats why its transparent)

2 Jul 2007, 7:49 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,803
Plugin Contributions:
15

Re: transparent gif

your transparent gif has an inherited 1px black border (line 44 of your stylesheet) and a 1px white border on hover as you have it as <img ... with no class or id.

you will need to use something like .centerBox img { .... to remove the borders

3 Jul 2007, 3:35 PM
#5
profetia avatar

profetia

New Zenner

Join Date:
Jun 2007
Posts:
7
Plugin Contributions:
0

Re: transparent gif

Yes that was the problem. Thank you very much