I am trying to create a basic pricing table.
The table can be of variable length: In some cases there is only 1 plan, in other cases there might be 5 plans.
I can’t figure out how to center all of the plans within a larger gray div.
I am using twitter bootstrap.
Here is the jsfiddle. Notice how the plans are floating left instead of centering in the middle of the gray area
Thanks for the help!
Instead of floating your pricing table items to the left, you can set them as
display:inline-blockand then simply set the.pricing_sequencecontainer totext-align:center;http://jsfiddle.net/vyjru/1/
CSS