Forum Moderators: open
html {
width: 100%;
height: 100%;
clip: auto;
position: absolute;
overflow: hidden;
} Should work. In practice, you can click and drag the text on the page to scroll in MSIE, although scrollbars do not appear. Works correctly in Mozilla and Opera, though.
[edited by: moonbiter at 11:02 pm (utc) on Sep. 18, 2002]
width: 100% [w3.org], height: 100% [w3.org], and position: absolute [w3.org] sets the size of the html element to the size of the viewport.
clip: auto; [w3.org] defines the entire size of the box as the clipping area.
overflow: hidden [w3.org] hides any content that overflows the clipping area.