Zenax
Active Member
- Messages
- 1,377
- Reaction score
- 4
- Points
- 38
How do I make it so that a div stretches the entire height of the page, no matter the length of content etc.
So someone could have a story that is 50,0000 words long (just an example, no one would really have that length on a website) and it would stretch forever!!
Any help recieved, I am grateful of!
Regards,
Zenax
P.S This happens in all browsers, FF 2.0, IE7, IE6
Can't figure it out for the life of me:
CSS Code
So someone could have a story that is 50,0000 words long (just an example, no one would really have that length on a website) and it would stretch forever!!
Any help recieved, I am grateful of!
Regards,
Zenax
P.S This happens in all browsers, FF 2.0, IE7, IE6
Can't figure it out for the life of me:
CSS Code
Code:
body, html
{
background-color: #6C6C6C;
margin: 0px;
padding: 0px;
height: 100%;
}
hr
{
background-color: #818181;
color: #818181;
}
a:link, a:visited
{
color: #FFFF00;
font-family: "Bookman Old Style";
font-size: 12px;
text-decoration: none;
padding-left:5px;
}
a:hover
{
color: #FFFFFF;
padding-left:5px;
}
#wrapper
{
background-image:url(../img/wrapper_bg.gif);
background-repeat: repeat-y;
width: 620px;
height: 100%;
padding-top: 10px;
}
.header
{
font-family:Arial, Helvetica, sans-serif;
}
.mainheader
{
font-size: 18px;
color: #6C6C6C;
font-family:Arial, Helvetica, sans-serif;
font-weight: bolder;
}
#contentwrapper
{
width: 350px;
font-family: "Bookman Old Style";
font-size: 12px;
margin-left: 200px;
position: absolute;
}
.content
{
font-family:"Bookman Old Style";
font-size:12px;
}
#navigationwrapper
{
background-color: #6C6C6C;
color: #FFFFFF;
font-family: "Bookman Old Style";
font-size: 12px;
width: 160px;
margin-left: 30px;
position: absolute;
margin-top: 20px;
}
.navigation
{
font-family:"Bookman Old Style";
font-size:12px;
color: #FFFFFF;
padding: 5px;
width: 150px;
}
.login
{
background-color: #FFFFFF;
color: #000000;
border: 1px solid #FFFFFF;
font-size: 11px;
padding: 2px;
}
.designedby
{
color: #FFFF00;
font-size: 9px;
font-family: Tahoma;
padding-left: 10px;
}
.logo
{
width: 100%;
border: 0px;
margin-left: 30px;
}
img
{
border: 0px;
}
form
{
margin-left: 5px;
}