How do I accomplish this
with this - each div is generated in the order shown on the server and has unknown height:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled</title>
<style type="text/css">
div {width:100px;color:white;background-color:grey;border:solid 5px black; margin:2px}
.wrapper {width:331px;height:400px;border:solid 1px black;float:left;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="wrapper">
<div class="shortDiv" style="float:left;">1 some stuff</div>
<div class="tallDiv" style="float:left;">2 some stuff some stuff</div>
<div class="shortDiv" style="float:left;">3 some stuff</div>
<div class="shortDiv" style="float:left;">4 some stuff</div>
<div class="shortDiv" style="float:left;">5 some stuff</div>
<div class="shortDiv" style="float:left;">6 some stuff</div>
<div class="tallDiv" style="float:left;">7 some stuff some stuff</div>
<div class="shortDiv" style="float:left;">8 some stuff</div>
<div class="shortDiv" style="float:left;">9 some stuff</div>
</div>
</form>
</body>