Div background not covering all text
In the area div.content, I have a background image with the text over it in the div.body-text. Resizing the window (narrow) makes the background image not go all the way to the bottom of the text, with a space that has no background, just text. I've come to a roadblock trying to make the background cover, and before I make another image, I thought I'd come here to find out if there's something I can do with the existing background? The length of the background is 768px. I think it might be that the text pushes downward instead of staying in its position. Thank you for your knowledge... cogs
Code:
<html>
<head>
<style type="text/css">
h1 {text-align: center; font-weight: normal;
font-family: trebuchet; arial; courier;
serif;
color: #bbbbcc;}
h2 {text-align: center; font-weight: normal;
font-family: trebuchet; arial; courier;
serif;
color: #bbbbcc;}
h3 {text-align: left; font-weight: normal;
text-indent: 1cm; line-height: 28px;
font-family: trebuchet; arial; courier; serif;
}
h4 { text-align: center; font-weight: normal;
line-height: 28px; font-family: trebuchet;
arial; courier; serif;
}
div.floatright
{
float: right;
margin: 0px 5px 0px 0px;
}
div.floatleft
{
float: left;
margin: 0px 0px 10px 10px;
}
div.LEMT {
background-image: url();
border-top: none;
border-left: none;
border-bottom: inset #232532 2px;
border-right: none;
padding: 15px 10px 0px 10px;
width: 100%;
margin-top: relative;
overflow: hidden;
}
div.content {
background-image:
url(http://i44.tinypic.com/156xvtl.jpg);
background-repeat: repeat-x;
background-attachment: fixed;
background-position: top
width: 100%;
}
div.navbar {
background-image: url();
background-repeat: repeat-x;
color: #ccccdd;
border-top: none;
border-left: none;
border-bottom: inset #717d8d;
border-right: none;
padding: 5px;
width: 15%;
height: 50%;
float: left;
}
div.body-text {
padding: 15px;
width: 85%;
overflow: hidden;
margin-top: 0;
}
</style>
</head>
<body>
<div class="lemt">
<img src=""
align="right" alt="null" style="border: inset
darkgray;">
<img src="" align="right" alt="null"></div>
<div class="content">
<div class="navbar">
<h4>
<i>text</i><hr/>
links<br/>
underneath<br/>
text<br/>
text<hr/></center>
</h4>
</div>
<div class="body-text">
<div class="floatleft">
<img src="" width="252"
height="82" alt="null">
</div>
<h2>text</h2>
<h3>textxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</h3>
<div class="floatright">
<img src="" width="200" height="133"
alt="null">
<font size="2px"><center>text</font>
</div>
<h3>textxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</h3>
<h2>text</h2>
<h3>textxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</h3>
</div>
</div>
</body>
</html>