sarnath
Legacy Member
Ik zit met het volgende probleem, als de content van mijn site hoger wordt dan gaat enkel deze div mee omlaag terwijl ik mijn volledige site dan omlaat wil krijgen, iemand enig idee hoe ik dit kan fixen?
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<link rel="StyleSheet" href="stijl.css" type="text/css" title="layout" />
</head>
<body>
<div class="total">
<div class="menu">
<a href="index.html">HOME</a>
</div>
<div class="sitecontent">
<div class="header"> </div>
<div class="sitecontent_text">
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
tekst<br />
</div>
</div>
<div class="promo">
promo
</div>
</div>
</body>
</html>
HTML:
a:link{color:#FFFFFF;font-family:Verdana;font-weight:bold;font-size:12px;text-decoration:none;}
a:visited{color:#FFFFFF;font-family:Verdana;font-weight:bold;font-size:12px;text-decoration:none;}
a:hover{color:#C0C0C0;font-family:Verdana;font-weight:bold;font-size:12px;text-decoration:none;}
a:active{color:#FFFFFF;font-family:Verdana;font-weight:bold;font-size:12px;text-decoration:none;}
body{
color:#C0C0C0;
font-family:Verdana;
}
.total{
border:1px black solid;
width:1024px;
height:768px;
margin-left:auto;
margin-right:auto;
}
.menu{
width:145px;;
height:763px;
background-image:url("menu_bg.jpg");
float:left;
color:#FFFFFF;
font-weight:bold;
padding-left:5px;
padding-top:5px;
}
.sitecontent{
width:674px;
height:768px;
background-color:yellow;
float:left;
}
.sitecontent_text{
width:669px;
height:613px;
min-height:613px;
background-color:green;
padding-left:5px;
padding-top:5px;
}
*>.sitecontent_text{
height:auto;
}
.promo{
width:200px;
height:768px;
background-color:green;
float:left;
}
.header{
width:768px;
height:150px;
background-image:url("logo.jpg");
}
.