开发者

Scrollbar problems in IE

开发者 https://www.devze.com 2023-04-11 18:34 出处:网络
I have a fixed-width content area using margin:0 auto to keep it centered and a repeating background that fills the whole page.Nothing should cause the browser to use a horizontal scrollbar, unless th

I have a fixed-width content area using margin:0 auto to keep it centered and a repeating background that fills the whole page. Nothing should cause the browser to use a horizontal scrollbar, unless the browser is less than browser is less than the fixed-width content. In IE however, a horizontal scrollbar is present and allows me to scroll slightly to the right which displays a 'gap' that appears to be the width of the vertical scrollbar. Curious as to why this is happening.

I have searched far and wide and found people with similar problems, but most discussion is regarding tables or other specific elements causing the problem that are not present on my page.

See link for example, open in开发者_开发百科 IE8 and scroll right. Any help is appreciated.

http://finchsbrasserie.com/test_new_site/


Why don't you set the div css propety as overflow-x:hidden

0

精彩评论

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

关注公众号