Not sure without looking it up but I think that'll be targetting IE5.2 on the mac which I personally ignore now anyway.
Try something like this
Code:
<!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>Min Height Example</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
body {
font-family: verdana, arial, helvetica, sans-serif;
padding: 10px;
}
#container {
padding: 10px;
min-height: 80px;
width: 280px;
background-color: #CCC;
}
* html #container {
height: 80px;
}
</style>
</head>
<body>
<div id="container">
<p>Here's some text</p>
</div>
</body>
</html>
Using min-height initially will allow all standards browsers that support it to expand.
IE6 treats height as min-height anyway so the second rule targets just IE6
Hope that helps.
Bookmarks