View Single Post
08-16-2004, 05:59 AM
#2
stenson is offline stenson
stenson's Avatar
Status: Member
Join date: Aug 2004
Location: Sacramento, CA
Expertise:
Software:
 
Posts: 275
iTrader: 1 / 100%
 

stenson is on a distinguished road

Send a message via AIM to stenson Send a message via MSN to stenson

  Old

Shouldn't you just have the header in a container?

Code:
body {
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Trebuchet MS;
	font-size: 12pt;
	color: #556A87;
	}

#container {
	width: 500px;
	background-color: #fff;
	background-repeat:repeat-y;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	}

#header {
	margin: 10px;
	padding: 10px;
	background-color: #FFFFFF;
	width: 500px;
	border: 1px solid #999999;
        float: left;
}
That should do it, I usually use that for layouts that need to be centered.