Hi,

We are developing the websites. In some of the website we are facing the problem like vertical scroll bar is not appearing in some of the versins of IE7 (Ex : IE7.0.6001.18000). This might be a problem in the css but exactly we dont know what is the problem in that.

We are using css for designs.

can some help please?

Regards,
sneha

Dani AI

Generated

reported that some IE7 installs do not show a vertical scrollbar even though the page overflows; correctly pointed at root-level overflow rules and suggested validating the markup. The behavior is often not a single bug but a combination of IE7 quirks: DOCTYPE/standards vs quirks mode, root/ancestor sizing, and the old IE "hasLayout" model all affect how the browser decides whether the page needs a scrollbar.

Practical checklist (work through until the failure reproduces on a minimal page): validate HTML to catch unclosed tags or stray elements; confirm a standards DOCTYPE so IE uses the expected box model; remove or isolate any explicit heights or clipped ancestors (root-level overflow rules are a common culprit); test whether forcing the element that should scroll to have layout fixes it (legacy IE accepts zoom:1 as a hasLayout trigger); as a last-resort UI workaround, force a vertical scrollbar on the scroller wrapper or root with overflow-y: scroll to make behavior consistent across different IE7 builds. Each change should be tested on an isolated reduced test case to separate markup problems from CSS layout issues.

Environment differences matter: different IE7 builds, compatibility-view settings, installed toolbars, and zoom level can change scrollbar behavior. The safest long-term fixes are valid markup, avoiding clipping the document root, and ensuring the scrolling container has a stable layout. When those are in place the scrollbar behavior becomes consistent across IE7 installs.

Recommended Answers

All 3 Replies

Hi,

We are developing the websites. In some of the website we are facing the problem like vertical scroll bar is not appearing in some of the versins of IE7 (Ex : IE7.0.6001.18000). This might be a problem in the css but exactly we dont know what is the problem in that.

We are using css for designs.

can some help please?

Regards,
sneha

yes, remove the overflow: hidden properties from HTML and the BODY element.

yes, remove the overflow: hidden properties from HTML and the BODY element.

We have already put overflow:auto in the body tag. The problem is it is appearing in some IE7's and in firefox. In some other IE7's it is not appearing. Please help :(

We have already put overflow:auto in the body tag. The problem is it is appearing in some IE7's and in firefox. In some other IE7's it is not appearing. Please help :(

You need to either post the complete code here or the link to the page.

but I suggest you validate your html first, and make sure it is error free.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.