I am trying to centre page numbers at the bottom of this test blog…
http://jocelynwarner.com/test/
in the centre between the previous and next buttons however I cannot think how to do it, I tried a few different tutorials but they didn’t really seem to help with this.
Any hints on how to make them sit centrally in the left column (the width of the blog content – sidebar) would be greatly appreciated.
Pablo has it right. This is a good case where using
display:inline-block
helps simplify things. By the way, here is a good post about the advantages and disadvantages of using it when you want a horizontal list:CSS display: inline-Block: Why It Rocks, And Why It Sucks
Also, this is kind of unrelated, but according to your description you want the pagination div to be the same size of the content column, right? in this case, you should give the pagination class a
width
of548px
, the same as your posts class, no?To expand on Pablo’s answer in order to properly support
inline-block
on all browsers:I bother and copy the pagination Div
Here is the new Style that will make it Centered
I recommend Reading the CSS Reference and tutorials at w3Schools