Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    red flag #navCatTabsWrapper

    Hello to everyone...

    I've been playing around with the design of my website for a couple of weeks (www.soundfactory.nu) and I 've disabled "navMainWrapper" and "LogoWrapper".

    For the web store I am only displaying "headerWrapper" and "NavCatTabsWrapper". However NavCatTabsWrapper won't center to the middle of the page. The element is aligned to far to the right and outside of the margin settings for #MainContent. It's also not possible to align #NacCatTabsWrapper to the center using the "margin-right" command in my stylesheet.css. However it is possible to align the #NavCatTabsWrapper to the right using the "margin-left" command which moves the wrapper further to the right...

    Or to just make it simple: I can't align the NavCatTabsWrapper to the center of the page...

    Anyone's got any ideas?

    Thanks a lot!
    Soniccc


    Website: www.soundfactory.nu

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

    Default Re: #navCatTabsWrapper

    How big is the misalignment you see? I see about a 3px shift (in Firefox).

    This is caused by trying to specify too many properties. In your stylesheet, change #navCatTabsWrapper as shown
    Code:
    #navCatTabsWrapper {
        background-image: url(../images/nav_cat_bg_2.jpg);
        background-repeat: no-repeat;
        /*margin-top: 220px;
       	margin-bottom: 0px;*/margin: 220px -3px 0;
        height:50px;
       	/*width: 964px;*/
    	background-color: #000;
    	font-weight: bold;
    	font-size: 110%;
    	font-family: verdana;
    	vertical-align: middle;
    	border-style: solid;
    	border-color: #fff;
    	}
    Specifying a width causes the border to be added to the width. It will default to 100% anyway. The negative side margin pulls the border out to match the headerWrapper border.
    Last edited by gjh42; 19 May 2010 at 05:18 PM.

  3. #3
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    Default Re: #navCatTabsWrapper

    Man, I wish I could buy you a car. The Wrapper is perfectly aligned. It's a pleasure to see the code "in action"!

    Kind regards
    Soniccc

 

 

Similar Threads

  1. remove navCatTabsWrapper
    By alexdog1805 in forum Basic Configuration
    Replies: 1
    Last Post: 6 Mar 2011, 01:01 AM
  2. Weirdness with #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper
    By SeánT in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Oct 2010, 10:09 AM
  3. text not contained in #navCatTabsWrapper
    By styledata in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Sep 2009, 02:09 PM
  4. Replies: 2
    Last Post: 12 Sep 2007, 08:21 PM
  5. Removeing #navCatTabsWrapper
    By Turtleman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jan 2007, 11:40 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR