All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

[Solved] Sub Menu Expansion

  • # January 26, 2010 at 6:41 pm

    I have a site I am in the middle of developing that has a horizontal menu where one of the menu items has a sub menu.

    The sub menu needs to be wider than the parent.

    The problem is when you hover over it and the sub menu appears, it pushes the next horizontal parent menu item to the right.

    Hover over Practice to see what I’m talking about on this link:

    Does anyone have any thoughts? Let me know if you need to see the code. Thanks.

    # January 27, 2010 at 4:30 am

    This reply has been reported for inappropriate content.

    Assign a width to your #Menu li tags.

    # January 27, 2010 at 4:04 pm

    Awesome! That was driving me crazy. Thanks for taking a look.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed