This is covered in a few places for divs but the problem I had was with the top level web page getting a disabled vertical scrollbar that was unnecessary. Funny thing is, in quirks mode it doesn’t appear, and it happens in IE7! (99% of my IE struggles are with 6…)
To get rid of it, apply overflow: auto to the html element. (My original attempts to style the body element got me nowhere)
Something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css"> html {overflow: auto}</style>
</head>
<body>
<p>Content here...</p>
</body>
</html>
