Samme højde på divs
Hvordan får jeg samme højde på blå og rød div som på grøn?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<style type="text/css">
#atest {
position: absolute;
width: 200px;
left: 50%;
margin-left: -100px;
z-index:2;
background-color:#0000FF;
}
</style>
<body>
<div id="atest" style="background-color:#000000">
<div style="background-color:green; height:auto; width:50px; position:relative; float:left">
<p>en 1nere</p>
<p> </p>
<p> </p>
<p> </p>
<p>11</p>
</div>
<div style="background-color:blue; width:100px; position:relative; height:auto; float:left">to 2ere</div>
<div style="background-color:red; width:50px; position:relative; float:left">tre 3ere</div>
</div>
</body>
</html>
