The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Centering List Items Horizontally Re: Centering List Items Horizontally

Chris Coyier

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.