Das Gelb sollte eigentlich neben dem Grünen sein. Im IE7 und 8 wird es korrekt angezeigt. Könnt Ihr mir bitte helfen?

http://www.imgbox.de/show/img/tRq3w2QygN.png Irgendwie wird das Bild nicht mit den BB-Code angezeigt 
Hier der Code
HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/xhtml1-loose.dtd">
<html>
<head>
<title></title>
<style type="text/css" media="screen">
* {padding:0;margin:0;}
html {height:100%;
font-size:100.01%;
}
body {}
#container{
margin:0 auto;
width:834px;
background-color:black;
border: 1px solid black;
}
#header{
width:834px;
height:196px;
background-color:red;
}
#mainnav{
width:834px;
height:18px;
background-color:pink;
}
#navr {
width:320px;
height: 400px;
background-color:green;
float:right;
}
#main{
width:514px;
height: 400px;
background-color: yellow;
}
#footer{
width:834px;
height: 18px;
background-color: blue;
clear:both;
}
#test1, #test2, #test3 {
width:100px;
height:150px;
border: 1px solid black;
margin:0 auto;
}
</style>
</head>
<body>
<div id="container">
<div id="header"></div>
<div id="mainnav"></div>
<div id="navr">
<div id="test1"></div>
<div id="test2"></div>
<div id="test3"></div>
</div> <!-- NAVENDE -->
<div id="main"></div>
<div id="footer"></div>
</div> <!-- CONTAINER-ENDE -->
</body>
</html>