View Full Version : Centering Lists

07-08-2005, 03: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, 03:12 PM
can't you just put the nav in a div and align the div?

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