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"><link href="style/colourlife.css" rel="stylesheet" type="text/css" /></head><body>
<script type="text/javascript" language="JavaScript" src="pic-slide.js"></script>
<div id="tops">
<div id="topline"> </div>
<div id="toppic"><img id="HomeLeftImage" src="gfx/body/toppic1.jpg" alt="" width="785" height="100" name="slide1" style="filter:blendTrans(duration=2)" /></div>
<div id="topunderline"> </div>
</div>
<div id="maino">
<div id="main">
<div id="indhold">Indholdet...<br>
<div id="spc"> </div>
</div>
<div id="bottom">
<div id="bottompic"> </div>
</div>
</div>
</div>
</body></html>
css:
html,body{margin:0px;padding:0px;height:100%;}
html{overflow:auto;}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
background-color:#CCCCCC;
margin:0px;
padding:0px;
}
/** <top> **/
#tops{position:absolute;top:0px;left:50%;margin-left:-392px;height:154px;width:785px;z-index:2;}
#topline {
background-image:url(../gfx/body/top.gif);
background-repeat:no-repeat;
width:100%;
height:21px;
}
#toppic {
background-color:#CCCCCC;
width:100%;
height:100px;
}
#topunderline {
background-image:url(../gfx/body/topunder.gif);
background-repeat:no-repeat;
width:100%;
height:33px;
}
/** </top> **/
/** <indhold> **/
#maino{position:absolute;top:0px;height:100%;width:100%;z-index:1;}
#main{position:relative;height:100%;width:785px;margin:0px auto;background:url('../gfx/body/main.gif') repeat-y;}
#maino>#main{min-height:100%;height:auto;}
#indhold{position:relative;padding:154px 50px 0px 50px;overflow:hidden;}
#spc{clear:both;width:100%;}
/** </indhold> **/
/** <bottom> **/
#bottom,#spc{height:22px;}
#bottom{position:absolute;bottom:0px;background:red;width:100%;left:50%;margin-left:-392px;}
/*width:785px;left:50%;margin-left:-392px;*/
#bottompic{
width:100%;
height:22px;
background-image:url('../gfx/body/bottom.gif')
}