Hey Taco

The only problem with your method is that you have to set the left & right
positions to a fixed value (10%). I think setting margins on the body
(margin-left: 10%; margin-right: 10%;)would work in a similar way.

In some cases you don't care what the left & right margins look like you
just wanted some fixed width content positioning in the middle of the
screen. The other method allows a bit more flexibility over the width of
your content (e.g. width: 600px;, width: 90%; and width: auto; will all
work).

In your example you are stuck with the content area being relative to the
browser window (i.e. 80% of the available width).

Apart from that you're method is fine.


Cheers

Mark


------------------
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com

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

Reply via email to