Hi

I am still playing with navigation lists. I have redone the site once more and have come up with this navigation:

<http://wilson.cregy.net/>

The css is embedded. Please could someone tell me why the navigation bar stretches right across?

#nav, #nav ul {
        float: left;
        width: 100%;
        list-style: none;
        line-height: 1;
        background-color: #3c3d38;
        font-weight: bold;
        padding: 10px;
        border-width: 1px 0;
        margin: 1em 0 1em 0;
}

I know if I change the width to 97% it gets smaller but it doesn't sit right in the page then. I tried margin: 1em auto; but that doesn't work and if I take the width out then it only stretches as wide as the list.

Any ideas?

Thanks

Rich

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to