Home › Forums › CSS › Centering List Items Horizontally › Re: Centering List Items Horizontally
August 5, 2009 at 2:15 pm
#61939
Chris Coyier
Keymaster
The problem is that display: table technique isn’t supported in IE-anything…
That article is pretty old and bad, haha. I think what I would do now is try to set the wrapping UL to "float: left", without setting a set width. A floated element will only grow as large as it needs to in width, then you could center it with margin: 0 auto; I’m not entirely certain that would work cross-browser, but it’s a good place to start at least.