Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   centering page (http://forum.bytesforall.com/showthread.php?t=5639)

aveeshkumar Feb 1, 2010 01:06 AM

centering page
 
Hello everyone,

This is a great theme - I am a PHP developer but a challenged HTML/CSS designer.

WP ver 2.9.1 , theme ver 3.4.4

I was looking to "center" the theme's output so that on diff browsers/viewports it appears not "left aligned"

I tried the following in theme options for Body/Layout (am using fluid width of 99%)
margin-left: auto;
margin-right: auto;
text-align:center;

but to no avail.


margin-right: auto;
margin-left: auto;
width: 900px;

WORKED - adding the width parameter in (in px or em) centered the page

I did this is Body style (and also in Layout options for good measure)

Will appreciate some more enlightenment and the correct way

Thanks

Aveesh

Before posting, I did look on the forums and search for centering always lead to center column posts....


All times are GMT -6. The time now is 09:23 AM.

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