[thelist] CSS Centered Layout

Lonnie.Kraemer lwkraemer at directvinternet.com
Fri Oct 11 19:11:18 CDT 2002


> div#boundingbox {
> position:relative; /* or absolute */
> top:0;
> left:50%;
> margin-left:-380px; /* centers a 760px _container_ */
> }

Oops... for width:

div#boundingbox {
position:relative; /* or absolute */
top:0;
left:50%;
width:760px;
margin-left:-380px; /* centers a 760px _container_ */
}



More information about the thelist mailing list