|
Posted by meltedown on 12/29/05 04:16
kaibo wrote:
> hi all,
>
> newbie here...trying to create a nav bar for a user (using the 'sliding
> doors' technique). i think i've got most of it worked out, but i'd really
> like to center the whole bar on the page.
>
> example here:
>
> www.monkeymynd.com/testcr
>
> the .css file has the line items in the nav bar as 'float:left', and
> changing this to 'center' obviously throws the nav bar off. so, i'm not sure
> how to just center the whole bar.
>
> also, any comment/suggestions are welcome.
>
> thanks in advance,
> stacey
>
>
change
#header ul {
margin:0;
padding:10px 10px 0;
list-style:none;
}
to:
header ul {
margin:0 auto;
padding:10px 0;
list-style:none;
width:44em;
}
[Back to original message]
|