Div skal følge wrapper.
Kære Eksperter.Hjæææælp.
hvorfor følger mine sider ikke indholdet?
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style>
#mainwrapper {
width:1011px;
position:absolute;
float:left;
background:#fff;
min-height:600px;
height:100%;
}
#leftside{
position:relative;
float:left;
width:18px;
height:100%;
background:#000;
}
#rightside{
position:relative;
float:right;
width:18px;
height:100%;
background:#000;
}
#maincontent{
position:relative;
width:975px;
float:left;
background:#ccc;
}</style>
</head>
<body>
<div id="mainwrapper">
<div id="leftside">
</div>
<div id="maincontent">
<br /><br /><br /><br /><br /><br /><br />1<br />2<br />3<br />1<br />2<br />3<br />1<br />2<br />3<br />1<br />2<br />3<br />1<br />2<br />3<br />1<br />2<br />3<br />
</div>
<div id="rightside">
</div>
</div>
<div style="clear:both"></div>
</body>
</html>
På forhånd tak.
Mvh
Peder