Menu
Is that possible?
For example, if I have a navigation bar made up of list items like this:
<ul>
<li>bla</li>
<li>bla</li>
<li>bla</li>
</ul>
and they’re all floated to the left. Now if you want the list items to be centered within the window, is that possible without using javascript?
margin-left: auto; margin-right: auto don’t work on floats.
Text-align center on the ul element also doesn’t make any difference, but yet, there are cases when you want the links of the <li>s to be centered, so doesn’t CSS provide any way to do that?
thanks