开发者

IE6 overflow-x being ignored

开发者 https://www.devze.com 2023-01-20 20:39 出处:网络
Here\'s the site in question: http://cbcsettlementfunding.com/dev/ Almost finished up with development, just have a few bugs left to fix in IE6, one of which is particularly annoying: horizontal scro

Here's the site in question: http://cbcsettlementfunding.com/dev/

Almost finished up with development, just have a few bugs left to fix in IE6, one of which is particularly annoying: horizontal scrollbars on every page of the site.

  • Firstly, I can't readily identify what is causing this since it's only happening in IE6 (7, 8, and 9 beta are unaffected).
  • Secondly, the one trick I had hoped to quickly fix this issue for the time being, setting "overflow-x: hidden" on the html and body tags, isn't working either.

I've been staring at this code for days and can't find anything wrong, so I'm hoping it's just s开发者_StackOverflowomething small that I may have overlooked like forgetting to close a tag or something small.

Thanks in advance for your help!


Try adding <style type="text/css">#sb-container { left:0; }</style> to the head section of your pages.


I know that this might be considered as a non-answer, but if it's eating away at a lot of your time I would strongly recommend simply letting the scrollbars be. Unless the client has a substantial amount of IE6 traffic, this might be the perfect time to let "graceful degradation" take its toll. Especially since an extra scroll bar on the bottom (probably) isn't breaking the layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消