This seems close to what you want:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Sören Kuklau">
<!-- Date: 2008-08-31 -->
<style type="text/css" media="screen">
#foo { background: red; max-height: 100px; overflow-y: hidden; }
.bar { background: blue; width: 100px; height: 100px; float: left; margin: 1em; }
</style>
</head>
<body>
<div id="foo">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</body>
</html>
Sören Kuklau
2008-08-31 21:24:05