Previous Message
Next Message

Centre a Div

Sent by Joanne on 26 March 2006 03:03


I'm just reading a tutorial that tells me to:
"Wrap the whole page in a centering, relatively positioned <div>,"

I have the code for the relative position, but I don't know how to center
the div.

<div id="everything"></div>

#everything{
position: relative;}

The learning curve for designing without tables is a steep one :)

Joanne



______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: