Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] centre table on page


  #1  
Old Aug 2, 2011, 03:27 PM
Moira
 
10 posts · Jul 2011
Newcastle-Upon-Tyne, UK
[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?

Using Atahualpa with WP table reloaded plug-in
  #2  
Old Aug 2, 2011, 07:41 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 2, 2011, 08:50 PM
Jam's Avatar
Jam
 
1,112 posts · Mar 2011
Perth, Western Australia
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
__________________
May the learning curve never plateau... Thanks Larry for teaching me heaps.
My Themeframe built sites

Last edited by Jam; Aug 2, 2011 at 08:57 PM.
  #4  
Old Aug 3, 2011, 03:30 AM
Moira
 
10 posts · Jul 2011
Newcastle-Upon-Tyne, UK
Thanks Jam, but when I use the code you gave, my table disappears and my right sidebar appears nicely centered on my page!!
  #5  
Old Aug 3, 2011, 05:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Aug 3, 2011 at 08:29 AM.
  #6  
Old Aug 3, 2011, 11:29 PM
Jam's Avatar
Jam
 
1,112 posts · Mar 2011
Perth, Western Australia
Quote:
Originally Posted by Moira
Thanks Jam, but when I use the code you gave, my table disappears and my right sidebar appears nicely centered on my page!!
you applied the div tags to your table via the html view of the page yes? Not to page template or php, just view the html view of the actual page you are placing the table, and put the table within the div tags. It should have no effect whatsoever on your sidebars
__________________
May the learning curve never plateau... Thanks Larry for teaching me heaps.
My Themeframe built sites
  #7  
Old Aug 5, 2011, 04:57 AM
Moira
 
10 posts · Jul 2011
Newcastle-Upon-Tyne, UK
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!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HTML in page centre raddy59 Center area post/pages 2 Jan 20, 2011 09:05 AM
Home page centre column issues - bleeding into right sidebar geegovah Center area post/pages 3 Jun 4, 2010 05:15 AM
remove centre column material from pages other than the main page?? adri Header configuration & styling 1 Oct 16, 2009 07:52 AM
Removing Page Title from centre panel mynot Atahualpa 3 Wordpress theme 1 Jun 25, 2009 07:39 PM


All times are GMT -6. The time now is 04:48 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.