SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    ireland
    Posts
    482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sitepoint Navbar

    Hi,

    I am trying to achieve the same effect as the sitepoint navigation bar but I am having problems getting the background image of the hover element to extent to the entire width of the bar. Here is my css code perhaps someone might help

    CSS
    #navlist li {
    display:inline;
    padding:0 .7em;
    border-right:1px solid #FFFF00;
    }
    #navlist li.last {
    border:none;
    }
    #navlist {
    font-family:Geneva, Arial, Helvetica, sans-serif;
    font-size:.9em;
    font-weight:normal;
    height:22px;
    text-align:left;
    padding-top:7px;
    }
    #navlist a {
    color:#FFF;
    text-decoration:none;
    }
    #navlist a:hover {
    color:#FFF;
    background-image:url(images2/nav.png);
    text-decoration:underline;
    }

  2. #2
    SitePoint Wizard jimbo_dk's Avatar
    Join Date
    May 2005
    Location
    Singapore
    Posts
    1,261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have a link to your work in progress? Adding some padding to your '#navlist a' might help.
    Winners Respond. Losers React.
    Singapore Web Designer

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    ireland
    Posts
    482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the link

    www.askaboutvalidation.com

  4. #4
    SitePoint Wizard jimbo_dk's Avatar
    Join Date
    May 2005
    Location
    Singapore
    Posts
    1,261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't that site a bit too similar to Sitepoint? Right down to the cartoonish image caption? You could try to be more original than that.

    Anyways, to fix the problem you could od something like
    Code:
    #navlist li{padding:0;}
    #navlist a{padding:0.5em;}
    Winners Respond. Losers React.
    Singapore Web Designer

  5. #5
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    ireland
    Posts
    482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes it is, I have being using sitepoint for the last 5 years, I've bought all the books here, video's etc. I'm no great designer my area is science so yes I have used the sitepoint website as a template for my own.

    I don't apologise for this, it's a completely different site to sitepoint in terms of content


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
  •