Help centering a pricing table

I am working on the following page trying to center the pricing table:

HostOrchard | Just another WordPress site

When I do this with text-align: center; it does center the pricing table but the borders on the left, right and bottom are missing and the bottom margin does not work either when centered.

Any help is appreciated.

What rule are you applying “text-align: center;” to?
it looks to me as you have div#price_table {
float:left;} which means the whole thing will be aligned left ( I am assuming you are talking about the whole table and not just the content inside it)…
if you removed the float and add:
margin:auto 0; overflow:hidden;

then the whole table will center for you

hope that helps

What Dresden meant was this :slight_smile:


div#price_table {
    float:none;/* i.e. remove float from original rule*/
   [B] margin: 21px auto;[/B]
    overflow: hidden;
}


Thanks for your help guys. It is greatly appreciated.

Andy