Results 1 to 10 of 28

Threaded View

  1. #19
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Adding a horizontal line below header

    yes you can leave the navCatTabs info where it is and create another statement below those addressing the div and manage just the padding in that statement or you can duplicate the statements for just the navCatTabs and remove it from the above statements.

    I would also remove the #navCatTabsWrapper statement you added near the top of the stylesheet in the "a" links section and do it more like this:
    Code:
    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    	text-decoration: none;
    	padding: 0em 2em;
    	margin: 0;
    	color: #3300ff;
    	white-space: nowrap;
    	}
    
    #navCatTabs ul li a {
            padding: 0 6em;
            }
    Because it is below the previous statement it takes precidence over the padding and you don't have to duplicate the rest of the stuff and end up with a larger stylesheet than you need.
    Last edited by barco57; 31 Dec 2007 at 05:28 AM. Reason: clarification
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. Adding Telephone Number To Header An Line up
    By tobinuk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Nov 2012, 06:31 PM
  2. adding horizontal line between products in listing
    By guybarles in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Aug 2009, 06:51 PM
  3. 1 px horizontal line in my footer??
    By mepeet in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Dec 2008, 03:27 PM
  4. 1 px horizontal line in my footer??
    By mepeet in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Dec 2008, 02:48 AM
  5. Adding a Table Below Header
    By cartdiscounts in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 May 2007, 04:06 PM

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