SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    navigation bar trouble

    Hey guys
    I've got a navigation bar that I am working on. The layout for the site I am working on is www.revolutionwebdesigns.com. If you look on the site you will see the navigation links, then on the right side of the navigation bar a gradient that extends to the length of the page. Basically what I am having trouble with is recreating this on the left side. I want the gradient to extend to the edge of the page on the left side as well and not begin with the nav link BRIDAL GOWNS. Anyone who has any ideas on how I might do this would be greatly appreciated.
    thanks for the help

  2. #2
    SitePoint Zealot ejg's Avatar
    Join Date
    Jun 2007
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In your CSS use

    body { margin: 0 }

    A better way is to use
    Code CSS:
    * {
    	margin: 0;
    	padding: 0;
    	}
    at the top of your CSS so you can control all the margins and padding on all the elements.

  3. #3
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok that worked, now the next question is how can I keep the nav links centered between two blank gradients (like the way the one on the right is), instead of beginning with BRIDAL GOWNS
    thanks for the help

  4. #4
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quite annoying to find the same question asked on more than one forum at a time.............


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
  •