Ik ben een beetje aan het stoeien met divs en ik loop tegen het volgende op:
Ik heb een grote div met meerdere divs erin en alles werkt in IE maar niet in FF..
Ik heb 2 divs naast elkaar en als 1 van die 2 langer is als de ander rekt de ander niet mee uit..
Iemand enig idee met deze code:
<!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>
div.forumblock
{
width: 690px;
margin-left: auto;
margin-right: auto;
background-color:#000000;
font-size: 0.75em;
color:#FF0000;
height: auto;
}
div.forumheader
{
width:100%;
background-color:#DFDFDF;
color:#000000;
}
div.forumonwer
{
width:172px;
background-color:#000000;
color:#FFFFFF;
float:left;
height: auto;
}
div.forummessage
{
width:518px;
background-color:#000000;
color:#FFFFFF;
float:left;
height: auto;
}
div.forumquote
{
width:540px;
background-color:#000000;
color:#FFFFFF;
float:left;
}
div.forumedit
{
width:150px;
background-color:#000000;
color:#FFFFFF;
float:left;
}
</style>
</head>
<body>
<p>
<div class="forumblock">
<div class="forumheader">
Header
</div>
<div class="forumonwer">
avatar shizzle
</div>
<div class="forummessage">
bericht
<br />
<br />
<br />
test
</div>
<div class="forumquote">
test
</div>
<div class="forumedit">
test
</div>
</div>
</p>
<p>
<div class="forumblock">
<div class="forumheader">
Header
</div>
<div class="forumonwer">
avatar shizzle
</div>
<div class="forummessage">
bericht
<br />
<br />
<br />
test
</div>
<div class="clear"></div>
<div class="forumquote">
test
</div>
<div class="forumedit">
test
</div>
</div>
</p>
</body>
</html>