No replies
scantle
scantle's picture
Offline
newbie
Portland, OR
Last seen: 13 years 14 weeks ago
Portland, OR
Timezone: GMT-7
Joined: 2009-07-02
Posts: 1
Points: 0

I always think "wow, I'm really getting the hang of CSS" until I pull up my website in IE. I'm sure I'm not alone in this. For the first time, I decided to create a separate IE stylesheet for my website. I've finally got everything gelling together... except my background. It ends about 60px short of my page.

The temp location of the website:
scantle.com/sndyriver/index.html

I have a doctype, etc, and perhaps too many div tags? Here's the css:

@charset "UTF-8";
/* CSS Document */
 
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0 0;
}
 
#overalls {
	background: url(images/topbg.png) repeat-x;
	text-align: center;
	z-index: 1000;
}
 
#bgbgbg {
	background-image: url(images/bg.png);
	background-position: center;
	background-repeat: repeat-y;
}
 
#menu {
	position: absolute;
	width: 906px;
	z-index: 1000;
}
 
#menu a {
	color: #ffffff;
}
 
#menu ul {
	font-family: Garamond, Georgia, "Times New Roman", Times, serif;
	font-size: 19px;
	list-style-type: none;
	margin: -44px 0px 0px 0px;
}
 
#menu li {
	list-style-type: none;
	display: inline;
}
 
#menu li a {
	text-decoration: none;
	padding: 0px 10px;
}
 
#menu a:hover {
	background: url(images/nav.gif) no-repeat center;
}
 
#slideshow{
	position: relative;
	visibility: hidden;
}
 
.middlebit {
	display: block;
	margin: 7px 0px;
	color: #F6F6CB;
	text-align: center;
}
 
#container {
	width: 916px;
}
 
#inners {
	text-align: center;
	position: relative;
	top: 70px; 
}
 
#content {
	background: #F6F6CB url(images/contenttop.png) no-repeat top;
	width: 874px;
	text-align: left;
	display: block;
	height: auto;
	padding: 20px 20px;
}
 
#footer {
	background: #000;
	color: #FFF;
	width: 916px;
	display: block;
	text-align: center;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
}
 
#footer a {
	text-decoration: none;
	color: #00C;
}
 
#footer a:hover {
	text-decoration: underline;
	color:#03F;
}

The only way I could get the background to center was by giving it it's own div. Before that, it went all the way down, but would NOT center.

HELP IS GREATLY APPRECIATED.