Try this with your original code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{ visibility: inherit; } Testing</title>
<style type="text/css">
<!--
pre {
display:block;
border:#000 solid 1px;
overflow:auto;
width:500px;
padding:10px;
background:#ccc;
margin:2em 0;
}
pre, #ie8#fix {
max-height:340px;
}
-->
</style>
</head>
<body>
<pre>TextTextTextTextTextTextTextTextText TextTextTextTextTextTextTextText TextTextTextTextTextTextText</pre>
</body>
</html>
What that will do is will force IE8 to ignore max-height because of bug #23 from bugs list linked in 3rd post of this thread.
Bookmarks