1px div højde?
--code--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>lala</title>
<script language="JavaScript" src="/js/main.js" type="text/javascript"></script>
<style type="text/css">
body
{
margin:4px;
padding:0px;
background:url(images/pat_20030430184606_.gif);
color:black;
text-align:center;
background-color:#E6E6E6;
}
#header
{
border:1px solid #CBCFD2;
height:55px;
width:800px;
background-color:#F2F2F2;
margin:11px 11px 0px 0px;
}
.horisontal
{
height:1px;
background-color:#CBCFD2;
}
.box1
{
height:33px;
background-color:#FAFAFA;
}
</style>
</head>
<body>
<div id="header">
<div class="horisontal"></div>
<div class="box1"></div>
</div>
</body>
</html>
--/code--
Hvis i paster det ind i et dokument og kigger vil i se at klassen "horisontal" ikke har en højde på 1 px, men nærmere 13px som std font-size, hvordan overruler jeg det?
