SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Posts
    85
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Please help with navigation bar

    Hi,

    I'm trying to create a navigation that is centered and is at the bottom of my header <div>.

    http://jsfiddle.net/snoove/UCK26/8/

    Why are the 'navigation tabs' sitting below the header?

    Is this the best way to approach something like this, or can somebody suggest an alternative?

    Any comments much appreciated, thanks.

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,506
    Mentioned
    61 Post(s)
    Tagged
    2 Thread(s)
    To keep the nav tabs from extending below the background-image, change the list item display value from inline to inline-block;

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Posts
    85
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the help, ronpat.

    I guess I should read up on displays.


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
  •