February 8, 2013 at 5:23 pm #42581
I am facing css problem, I just installed on my website pagination numbers
please check it at the bottom http://www.product-investigation.com
I already tried margin: 0 auto and center – yes I can use margin-left: x px, but it will look great on homepage but on other pages it will break it – so please help me to center it – thanks !February 8, 2013 at 5:43 pm #123833
Firstly the ‘center’ element is not longer used and should be replaced with a div.
will not work unless you set a width to the div.February 8, 2013 at 5:55 pm #123838
on .pagination and replace ‘center’ with a div and
on thatFebruary 8, 2013 at 6:03 pm #123839
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: http://codepen.io/Paulie-D/pen/cytbmFebruary 9, 2013 at 3:23 am #123862
inline-block works :) thanks guys :)
You must be logged in to reply to this topic.