Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2005
    Posts
    41
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: boxes around images

    Post a url...as this is not standard

  3. #3
    Join Date
    Jul 2005
    Posts
    41
    Plugin Contributions
    0

    Default Re: boxes around images

    sip.nrscoatings.com

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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

  5. #5
    Join Date
    Jul 2005
    Posts
    41
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: boxes around images

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

  7. #7
    Join Date
    Jul 2005
    Posts
    41
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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

  9. #9
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default 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!

  10. #10
    Join Date
    Jul 2005
    Posts
    41
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. remove border around around images (not image border)
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Aug 2010, 06:03 AM
  2. How do I put boxes around my category images?
    By Matt Smith in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Nov 2009, 07:00 PM
  3. Boxes around category images
    By Matt Smith in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 28 Sep 2009, 08:19 AM
  4. Moving the Side Boxes Around
    By shaza in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 May 2009, 03:05 AM
  5. Moving boxes around the page
    By Mike_Dean in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Apr 2008, 04:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg