Zen Cart Logo

boxes around images

Locked

Views: 1,287

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
10 Jan 2007, 2:36 PM
#1
wseyller avatar

wseyller

New Zenner

Join Date:
Jul 2005
Posts:
39
Plugin Contributions:
0

boxes around images

I upgraded to 1.3.7 and now most of my images such as products images, my header logo image, buttons and such have a blue or purple box around them. How do I get rid of the boxes.

10 Jan 2007, 2:37 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: boxes around images

Post a url...as this is not standard

10 Jan 2007, 2:52 PM
#3
wseyller avatar

wseyller

New Zenner

Join Date:
Jul 2005
Posts:
39
Plugin Contributions:
0

Re: boxes around images

sip.nrscoatings.com

11 Jan 2007, 1:54 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: boxes around images

If this link is to your 1.3.7 install??

Get rid of the table based stylesheet.css file dated $Id: stylesheet.css 277 2004-09-10

11 Jan 2007, 3:35 PM
#5
wseyller avatar

wseyller

New Zenner

Join Date:
Jul 2005
Posts:
39
Plugin Contributions:
0

Re: boxes around images

Please be more specific to which css file is it.

file dated $Id: stylesheet.css 277 2004-09-10 <--Don't understand this.

11 Jan 2007, 9:20 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: boxes around images

Look inside your stylesheet.css file and at the top part there is a date stamp

12 Jan 2007, 2:49 PM
#7
wseyller avatar

wseyller

New Zenner

Join Date:
Jul 2005
Posts:
39
Plugin Contributions:
0

Re: boxes around images

Yes I found that css file but you say just get rid of the file. How does that alone solve my problem. That would just make my site look terrible. Also removing it doesn't even make the borders go away.

12 Jan 2007, 8:36 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: boxes around images

Zen Cart 1.3.x is div based not table based.....the old sheet is a table based stylesheet.css file

12 Jan 2007, 11:35 PM
#9
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: boxes around images

While you're figuring out what to do about your old style sheet, find the style definition for IMG that sets a border of something other than zero and change it to zero. If there is no definition, add one that says...
img { border: 0; }

What's happening is that the default browser behaviour is showing through. Browsers will draw blue borders around images which are links (just like they make linked text blue unless you tell them otherwise). And if it's a link you've already visited, it'll be a purple box (or purple text).

So set the border to zero and the boxes go away.

Rob

PS
Pay attention to what Kobra says. He da man!

15 Jan 2007, 7:56 PM
#10
wseyller avatar

wseyller

New Zenner

Join Date:
Jul 2005
Posts:
39
Plugin Contributions:
0

Re: boxes around images

Well I guess I will either find a new template that is more compatible or just deal with what I got because I don't have the knowledge to convert the css on my own from tables to div.