View Single Post
Old December 17th, 2006, 10:16 PM   #1 (permalink)
lonelydreamer
Surpass Fan
Comfy Contributor
 
Joined in Dec 2004
224 posts
Gave thanks: 6
Thanked 19 times
HTML/CSS Centering

http://www.out-burst.org/outbursttry2/

In Firefox, the centering of the header and footer images works fine in all resolutions.

In IE7, the centering of the header and footer images works under a certain window size but then gets messed up...

Any ideas?

HTML for header
Code:
<div id="header"></div>
css for header

Code:
#header {
	position:absolute;
	top:0px;
	width: 900px;
	height: 133px;
	left:50%;
	margin-left: -450px;
	background: transparent url(../images/header.jpg) no-repeat top;
}

Last edited by lonelydreamer; December 17th, 2006 at 10:18 PM..
lonelydreamer is offline   Reply With Quote