SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Drop down menu

  1. #1
    SitePoint Addict
    Join Date
    Feb 2004
    Location
    belfast
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop down menu

    Hi,

    Nearly there, just struggling to get my menu to drop down. Site is http://emeraldangling.com/

    If you hover over 'local area' tab it drops down with 3 sub menus, but the are all horizontally aligned instead of vertically.

    I think it's to do with my #menu li being floated left but I don't know how to over come this as I still want the 1st level menu floated left.

    Any help / pointers greatly appreciated.

    Ronan

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,623
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, it's just because you need to unfloat the dropdowns <li>'s . Simple fix.

    #menu li li{float:none}

    You'll have to mess with the dropdowns anchors (via something like...#menu li li a{}) in order for the gap between the dropdowns to disappear.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Addict
    Join Date
    Feb 2004
    Location
    belfast
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank Ryan,

    That's certainly a start. I'll tidy it up a bit.

    Appreciate the quick response!

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,623
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Glad I could be of help . You're welcome. I have no life currently due to school and work so I spend my time here now.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •