Ahh thanks!
Perfect!

margin-left: auto;
margin-right: auto;

worked great!


www.neester.com

check it out now :D
its my first shot at XHTML so im also learning more about CSS while im
at it!
:)

margin-left: auto;
margin-right: auto;

seems a little dodgy though, its not a set result...
I mean, Float: center would be a lot! Simpler!

-----------------------------
Chris Stratford
[EMAIL PROTECTED]
www.neester.com
-----------------------------


-----Original Message-----
From: Lea de Groot [mailto:[EMAIL PROTECTED]

Sent: Sunday, February 08, 2004 12:22 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] Ok - Stupid Question


On Sun, 8 Feb 2004 00:02:09 +1100, Chris Stratford wrote:
> so how the hell do I center the page??

There's a couple of methods.
One is to use
margin-left: auto;
margin-right: auto;
on the *parent* block.
(Ummm... I'm sure I havent phrased that properly)

Anyway, the Incutio CSS wiki has a full discussion:
http://css-discuss.incutio.com/?page=CenteringBlockElement

Float: center; would be nice, wouldnt it? :)

HIH
Lea
~ hi guys - first post :)
-- 
Lea de Groot
Elysian Systems
Brisbane, Australia
*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 



*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to