Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
I usually do something like this (I think this is what you're looking for):
Code:
ul#mainNav {
display: block;
text-align: center;
}
ul#mainNav li {
display: inline;
}
And I would probably put the borders on the ul#mainNav, instead of on the child li, so that the borders stretch across the window. That said, the way I have set it up, you can probably just remove the <div id="navblock">, and put whatever styling you need for it on the ul#mainNav, since its display is now block, and it pretty much acts like a div.
Last edited by wayfarer07; 06-19-2008 at 11:25 AM..
|