The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

nav not full width of parent

  • # June 17, 2013 at 3:53 pm

    Hello, I am fiddeling with this nav menu and I can’t seem to get the #nav to fit 100% of the #menu.

    I just need to black part to fill the width, not neccesarily the height of the white border. Thank you for your help!

    # June 17, 2013 at 3:56 pm

    As in:

    #nav {
    padding: 0;
    margin: 0;


    # June 17, 2013 at 4:07 pm

    *Bow’s head in shame

    I tried #nav padding 0 but not both margin and padding. Thank you! Overlooked that one!

    # June 17, 2013 at 4:07 pm

    No problem ;)

Viewing 4 posts - 1 through 4 (of 4 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