questo è il codice...il div verde e il giallo dovrebbero stare in quello blu come si vede in IE, mentre FF ha una sua interpretazione
Codice PHP:
<!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=iso-8859-1" />
<title>Documento senza titolo</title>
<style type="text/css">
<!--
div.container{
background:#0000FF;
display:block;
width:500px;}
div.uno{
background:#00CC33;
display:block;
width:100px;
float:left;}
div.due{
background:#FFFF00;
display:block;
width:100px;
float:left;}
-->
</style>
</head>
<body><div class="container">
container</p><div class="uno">
1111</p></div><div class="due">
2222</p>
</div></div>
</body>
</html>