View Full Version : Centering Lists

07-08-2005, 02:09 PM
Alrighty, here is what is probaly an easy one for you all.

I have a list that I need to center where it is. Unfortunately, when this is done, all of the list items are centered as well. What I want to do is center the list itself, but have the items left aligned under the list title. Any way of making this happen?

07-08-2005, 02:12 PM
can't you just put the nav in a div and align the div?

07-08-2005, 08:19 PM
A list is a block level element therefore you need to use margin:auto; not text-align:center;