My script displays two rows of boxes three boxes wide. Why is the center box of the second row high? I need it to be even with the left and right box.
<html>
<head>
<style type="text/css">
div.ex
{
width:720px;
height:985px;
margin-bottom:0px;
padding:0px;
border:5px solid gray;
}
div.adv_topleft
{
float:left;
width:224px;
height:177px;
margin:10px 5px 5px 10px;
border:3px solid gray;
}
div.adv_topcenter
{
text-align:center;
overflow:hidden;
width:226px;
height:177px;
margin:10px 5px 5px 5px;
border:3px solid gray;
}
div.adv_topright
{
float:right;
width:225px;
height:177px;
margin:10px 10px 5px 5px;
border:3px solid gray;
}
div.adv_nextleft
{
float:left;
width:224px;
height:177px;
margin:5px 5px 5px 10px;
border:3px solid gray;
}
div.adv_nextcenter
{
text-align:center;
overflow:hidden;
width:226px;
height:177px;
margin:5px 5px 5px 5px;
border:3px solid gray;
}
div.adv_nextright
{
float:right;
width:225px;
height:177px;
margin:5px 10px 5px 5px;
border:3px solid gray;
}
</style>
</head>
<body>
<div class="ex">
<div class="adv_topleft">
</div>
<div class="adv_topright">
</div>
<div class="adv_topcenter">
</div>
<div class="adv_nextleft">
</div>
<div class="adv_nextright">
</div>
<div class="adv_nextcenter">
</div>
</div>
<div class="ex2">
</div
</body>
</html>