SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    636
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Navigation Question

    Hi Guys,

    Here is a site I'm working on but I totally forget how to make it so they dont just have to click on the word for the top navigation, I'd like it so the whole top of that blue can be clicked and keeping everything positioned where it is, could someone please share their knowledge with me.

    http://igylifesciences.com/wordpress

    Thanks,

    Mike

  2. #2
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,656
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    float the anchor left and give it your desired height.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, you could add float:left to the <li>'s and the <a> inside hte #navigation div.

    You need a <ul> to contain the <li>'s by the way. It's invalid as it is now

    If you want the links to takle up more space then give the <li>'s a width/height to your liking.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


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
  •