SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop Down Menu Width (wider than top level menu)

    Hi all,

    Im building a css layout here: http://www.mitchellpage.com.au/temp/eck/

    I have a main menu which each button is 85 pixels wide. I then have a drop down menu on the second button, but when i specify this to be wider that the main button (125px) it doesn't actually widen the drop down.

    Anyone offer any CSS tips to allow the drop down menu to be wider? Will be much appreciated as always.

    Thanks

  2. #2
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    have you tried adding 125px to the following: (seemed to work via the FFox css editor)

    #menu ul li ul a {
    color: #000000;
    padding:3px 0 3px 0;
    font-weight:bold;
    font-size:9px;
    width: 125px;
    }

    Nadia

  3. #3
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks heaps Nadia, that has solved the problem!

    PS-I love the NSW south coast, and regularly stay at Culburra Beach if you know of that.

  4. #4
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks heaps Nadia, that has solved the problem!
    You're welcome

    PS-I love the NSW south coast, and regularly stay at Culburra Beach if you know of that.
    Yes, that's further south than where I am, and it's certainly a lovely part of the South Coast - though Wollongong isn't too bad either if you get a chance to come visit :-)

    Nadia


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
  •