You can also check this by forcing the rendering mode with the Developer Tools. Press F12 on a page, and at the end of the menu bar (for some reason...) there's a "Document Mode" setting. Toggling between Standards and Quirks here should also toggle the scrollbar.
So... you need to make your page adhere to an HTML standard! It need not be XHTML Strict, it could be HTML 4, or even XHTML Transitional if you really must.
The W3C Validator can help you with any validation errors.
It depends on whether IE8 is rendering the page in Standards or Quirks mode. For example, the following HTML will be displayed without a scrollbar:
But if you remove the doctype declaration, IE8 renders the page in Quirks mode:
You can also check this by forcing the rendering mode with the Developer Tools. Press F12 on a page, and at the end of the menu bar (for some reason...) there's a "Document Mode" setting. Toggling between Standards and Quirks here should also toggle the scrollbar.
So... you need to make your page adhere to an HTML standard! It need not be XHTML Strict, it could be HTML 4, or even XHTML Transitional if you really must.
The W3C Validator can help you with any validation errors.
It must be something else, because I just applied overflow:hidden on this stackoverflow page's HTML element and the scrollbar disappeared.
Could you post some more css or code?
Edit: I also tried it on the body element and it also worked.. no more scrollbar.
add this IE hack: