Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] centre table on page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 2, 2011, 03:27 PM
Moira
 
10 posts · Jul 2011
Newcastle-Upon-Tyne, UK
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,099 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,072 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
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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,072 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!
  #8  
Old Aug 5, 2011, 05:38 AM
juggledad's Avatar
juggledad
 
22,263 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Where is the table on that page?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Aug 5, 2011, 03:34 PM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
Try this in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:
#wp-table-reloaded-id-2-no-1 {
    margin: 0 auto;
}
__________________
~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.
  #10  
Old Aug 6, 2011, 03:39 AM
Moira
 
10 posts · Jul 2011
Newcastle-Upon-Tyne, UK
Fantastic - that's done the trick! Thank you for your patience!

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 01:46 AM.


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