Her er så et andet stylesheet med faste mål ... det er simpelthen en bug i IE ... og bug'en er der uanset om du har xml deklarationen eller ej - fejlen har ikke noget med xhtml at gøre... den er general ved % afrundingen... - så prøv ovenstående med denne css: eller brug første eller andet forslag... % er ikke optimalt med border og IE...
html,body{
margin:0px;
padding:0px;
background:#e7e7e7;
width:100%;
}
#top {
background: url('bg/banner_r.jpg') repeat-x;
width: 100%;
height: 129px;
position: absolute;
top: 0px;
left: 0px;
}
#content {
background: url('bg/content_r.gif') repeat-x top;
position:absolute;
width:100%;
top: 130px;
left:0px;
}
#centcont{
width:770px;
margin:0px auto;
position:relative;
}
#menu{
width:150px;
position:absolute;
top:0px;left:10px;
padding-bottom:10px;
}
#inner{
width:600px;
position:absolute;
top:0px;left:170px;
padding-bottom:10px;
}
.pa{position:absolute;}
.pr{position:relative;}
.t0{top:0px;}
.l0{left:0px;}
.r0{right:0px;}
.w1{width:100%;}
#menu .wmarg{margin:10px 0px 0px 0px;}
#inner .wmarg{margin:10px 0px 0px 0px;}
.bgc{background:#fff;padding:0px 1%;border:1px solid #7d7d7d;border-width:0px 1px;}
.tl{background:url('bg/left_top.gif');width:14px;height:27px;}
.tr{background:url('bg/right_top.gif');width:8px;height:27px;}
.tm{background:url('bg/center_top.gif');height:27px;margin:0px 5px;}
.bl{background:url('bg/left_bottom.gif');width:14px;height:14px;}
.br{background:url('bg/right_bottom.gif');width:8px;height:14px;}
.bm{background:url('bg/center_bottom.gif');height:14px;margin:0px 5px;}
.th,.bh{font-size:0px;}
.clearer{clear:both;font-size:0px;}
.........
<?xml version="1.0" encoding="iso-8859-1"?><!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="da"><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><meta http-equiv="Content-Style-Type" content="text/css" /><meta http-equiv="content-language" content="da" /><link rel="stylesheet" type="text/css" href="style2.css" /><title>Ikke navngivet</title>
</head><body>
<div id="top">
<img src="bg/banner.jpg" />
</div>
<div id="content"><div id="centcont">
<div id="menu">
<div class="wmarg"><div class="th pr w1"><div class="tm"></div><div class="tl pa l0 t0"></div><div class="tr pa r0 t0"></div></div>
<div class="bgc">INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br />INDHOLDET HER!<br /></div>
<div class="bh pr w1"><div class="bm"></div><div class="bl pa l0 t0"></div><div class="br pa r0 t0"></div></div></div>
<div class="wmarg"><div class="th pr w1"><div class="tm"></div><div class="tl pa l0 t0"></div><div class="tr pa r0 t0"></div></div>
<div class="bgc">INDHOLDET HER!<br />INDHOLDET HER!</div>
<div class="bh pr w1"><div class="bm"></div><div class="bl pa l0 t0"></div><div class="br pa r0 t0"></div></div></div>
</div>
<div id="inner">
<div class="wmarg"><div class="th pr w1"><div class="tm"></div><div class="tl pa l0 t0"></div><div class="tr pa r0 t0"></div></div>
<div class="bgc">INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!</div>
<div class="bh pr w1"><div class="bm"></div><div class="bl pa l0 t0"></div><div class="br pa r0 t0"></div></div></div>
<div class="wmarg"><div class="th pr w1"><div class="tm"></div><div class="tl pa l0 t0"></div><div class="tr pa r0 t0"></div></div>
<div class="bgc">INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!<br>INDHOLDET HER!</div>
<div class="bh pr w1"><div class="bm"></div><div class="bl pa l0 t0"></div><div class="br pa r0 t0"></div></div></div>
</div>
<div class="clearer"></div>
</div></div></body></html>