Ultimater
04-25-2006, 10:28 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>overflow:auto; height:100%; in IE</title>
</head>
<body>
<div style="position:absolute;width:150px; height:100%; overflow:auto; background-color:red;"">
a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>
</div>
</body>
</html>
The above renders prefectly how I want it to in Firefox.
IE on the other hand doesn't like height:100%; and wants an actual value...
Any suggestions?
"http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>overflow:auto; height:100%; in IE</title>
</head>
<body>
<div style="position:absolute;width:150px; height:100%; overflow:auto; background-color:red;"">
a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>a<br>b<br>
</div>
</body>
</html>
The above renders prefectly how I want it to in Firefox.
IE on the other hand doesn't like height:100%; and wants an actual value...
Any suggestions?