mlecho
01-02-2008, 05:36 PM
i have a container div with a background image set to repeat on the y scale. The problem i am having is that in safari and firefox, it loads great, and will repeat till the end of the text. in ie, it will not do the same. I thought maybe it had to do with the next div loading (a footer) , but even after taking that away, it still will not load repeat for as long as the text runs.
html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" rev="stylesheet" href="css/main.css">
<link rel="stylesheet" rev="stylesheet" href="css/pages.css">
<!--[if IE]>
<link href="css/ie_specs.css" rel="stylesheet" type="text/css" media="screen" >
<![endif]-->
<script type="text/javascript" src="js/shover.js"></script>
<script type="text/javascript" src="js/epicjs.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<title>SITE :: Team</title>
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="header"><?php include("includes/nav.php"); ?>
</div>
<div id="content">
<div id="content_wrapper">
<div id="fade">
<?php include("includes/inc_team.php"); //main text, varies in length ?>
</div>
</div>
<?php include("includes/footer.php"); ?>
</div>
</div>
</div>
</body>
</html>
and css (most pertinent parts):
#fade{width: 941px; height: 280px;background: url(../imgs/bg_fade.png) no-repeat top;}
#content{background: url(../imgs/bg_filler.png) repeat-y;position: relative;top: -35px;}
#content_wrapper{position: relative;}
html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" rev="stylesheet" href="css/main.css">
<link rel="stylesheet" rev="stylesheet" href="css/pages.css">
<!--[if IE]>
<link href="css/ie_specs.css" rel="stylesheet" type="text/css" media="screen" >
<![endif]-->
<script type="text/javascript" src="js/shover.js"></script>
<script type="text/javascript" src="js/epicjs.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<title>SITE :: Team</title>
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="header"><?php include("includes/nav.php"); ?>
</div>
<div id="content">
<div id="content_wrapper">
<div id="fade">
<?php include("includes/inc_team.php"); //main text, varies in length ?>
</div>
</div>
<?php include("includes/footer.php"); ?>
</div>
</div>
</div>
</body>
</html>
and css (most pertinent parts):
#fade{width: 941px; height: 280px;background: url(../imgs/bg_fade.png) no-repeat top;}
#content{background: url(../imgs/bg_filler.png) repeat-y;position: relative;top: -35px;}
#content_wrapper{position: relative;}