[SOLVED] centre table on page
Have tried every combination I can think of but can't seem to work out how to solve this simple problem - how do I centre a table on my page? :o
Using Atahualpa with WP table reloaded plug-in |
The way I do it is to give the table a class or an ID and set a width and auto left and right margins.
|
I think Ive done it before, put it in a div, centered.
ie wrap the table within <div style="text-align: center; > <table> </table> </div> Alignment of table cells will be controlled within the table. I think :) |
Thanks Jam, but when I use the code you gave, my table disappears and my right sidebar appears nicely centered on my page!!:)
|
what version of Atahualpa and WP?
What is the uRL? Do you have all the patches for your version of Atahualpa applied? (New Versions & Updates) |
Quote:
|
Hi Jam - yes that's what I did. Have just tried again with same outcome!
lmilesw - WP version 3.2.1, Atahualpa 3.6.7 url = http://yoga-newcastle-gateshead.info...ashtanga-yoga/ Thanks for your help guys! |
Where is the table on that page?
|
Try this in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:
#wp-table-reloaded-id-2-no-1 { |
Fantastic - that's done the trick! Thank you for your patience!:)
|
All times are GMT -6. The time now is 04:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.