Hide horizontal scrollbar in IE 7 and below

后端 未结 1 1395
独厮守ぢ
独厮守ぢ 2021-01-24 12:18

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 I

相关标签:
1条回答
  • 2021-01-24 12:54

    Have you tried setting a static width on a container, giving it sufficient height, and then setting overflow:hidden for the entire container? Not sure if that would play well with your JS scrolling, but it might be a move in the right direction.

    Oh, and any solution given will probably be insufficient for IE6. That beast just wasn't made for pretty layouts. I guess as an alternative, define a conditional stylesheet for that and/or IE7 for a less complex layout.

    0 讨论(0)
提交回复
热议问题