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

Home Forums CSS CSS – Margin: 0 auto ; Re: CSS – Margin: 0 auto ;


However, if you want the numbers in the center (and not the whole div) then that’s another matter.

I would assume that really don’t want to set a width on the pagination div because other numbers might get added.

That being the case, you can’t float the page links as they won’t center.

Try inline-block instead: