Hide horizontal scrollbar in IE 7 and below

Posted by Bradley Bell on Stack Overflow See other posts from Stack Overflow or by Bradley Bell
Published on 2010-05-31T03:08:51Z Indexed on 2010/05/31 3:12 UTC
Read the original article Hit count: 339

Hi all.

Basically, I'm having trouble removing the horizontal scrollbar in Internet Explorer 7 and Below. I've tried the code below and It seems to work fine in every browser except IE.

overflow-x: hidden;

The even bigger problem is that, even though the scrollbar isn't even removed, it seems to completely screw the layout.. It somehow hides the majority of the page content in boxes 2 and 3? It also.. adds a second vertical scrollbar which moves relatively/absolute positioned items down?! I did contemplate just leaving the scrollbar in IE via a specified stylesheet, but even that seems to be messing with the page?

The website is on a test directory here.. I'll post the stylesheet in a comment below.

Any suggestions?

Thanks in advance, hope you can help! Bradley

© Stack Overflow or respective owner

Related posts about css

Related posts about internet-explorer