...

View Full Version : Centering Lists



Gryphon
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?

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum