Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2011
    Posts
    7
    Plugin Contributions
    0

    Default category list contains a html break tag

    The category list at the bottom of my main page has a html break tag after a 1x1 spacer image that makes the link behave funny when hovering.

    <div class="categoryListBoxContents" style="width:33%;"><a href="http://www.pmsoap.com/index.php?main_page=index&amp;cPath=1_40"><img src="images/pixel_trans.gif" alt="Bath Soap" title=" Bath Soap " width="1" height="1" /><br />Bath Soap</a></div>

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: category list contains a html break tag

    That's not being used as a spacer image; it's a stand-in for a missing product image.
    Can we see the site to experience the effect? That may let us suggest a remedy.

  3. #3
    Join Date
    Nov 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: category list contains a html break tag

    sure, see the category links near the bottom of:

    http://www.pmsoap.com/index.php?main_page=index&cPath=1

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: category list contains a html break tag

    Are you looking in IE? Firefox highlights the 1x1 gif when hovering on the text, but IE highlights a line-height slice, which is actually noticeable.

    If you plan to have no images in any category listings, you could add a rule to your stylesheet to hide the break and put the gif on the same line as the text, where it would be unnoticeable.

    .categoryListBoxContents a img+br {display: none;}

  5. #5
    Join Date
    Nov 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: category list contains a html break tag

    outstanding!! thanks

 

 

Similar Threads

  1. v151 coupon_admin.php contains double p tag
    By Design75 in forum Bug Reports
    Replies: 3
    Last Post: 14 Nov 2012, 03:45 AM
  2. line break in product description in category list
    By czepp in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 17 Dec 2009, 10:38 PM
  3. Was I dreaming? Break tag option somewhere?
    By endl in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 12 Jun 2008, 12:26 AM
  4. list/column break, name value
    By clane777 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Nov 2006, 04:34 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