This is a case that does not appear to have been fixed by the following bug fix,
where this bug was fixed for Netscape/Mozilla:
4749453: Displays unnecessary horizontal scroll bars - invalid HTML DOCTYPE
One property of this bug is that no matter how wide you make the window,
it's never wide enough to make the entire width of the document display
and for the horizontal scroll bar to disappear.
Changed synopsis from:
Frameset of Java 2 Platform API Specification
IE displays unnecessary horizontal scroll bar in frameset in J2SE API spec
Upon further research, this is a bug in Internet Explorer that
is not present in Netscape or Mozilla.
Internet Explorer frame bug
When Internet Explorer displays a frameset document, if one of the
frames has too much vertical content to fit in its space on the screen,
as expected, a vertical scrollbar appears. Unfortunately, IE considers
the rectangular area *behind* the scrollbar as space for text layout.
The result is that the document lays out behind the scroll bar, and in
a stunning example of doublethink, IE then says "Whoops, the layout is
running off the right side of the page" and also displays a horizontal
scrollbar. Even resizing the frame manually won't get rid of the horizontal
scrollbar (as long as the document still wants more vertical space than
is available to it).
- Paraphrased from ###@###.### 24 October 2002
Three possible solutions:
1) Ignore the problem and wait for MS to fix the problem
However, I could not find this bug on microsoft.com in knowledge base
and don't know how to submit bugs to MS.
2) Remove the DOCTYPE declaration from the top of the index.html file.
The effect is apparently to throw IE into "quirks" mode, which
perversely seems to behave better in this case than "standards" mode.
3) Turn on scrolling="yes" attribute, which forces the vertical (but not
horizontal) scroll bar to appear and forces IE to realize its area
is not available for text layout. If all documents are longer than
one screen, it won't matter that the vertical scroll bar is always
present. However, if any page fits fully on the screen, the scroll
be will still be present (though the scroll arrows will not appear).
One symptom of this problem is that no matter how wide you make
the window, as long as it is showing frames, if the vertical scroll
bar is showing in the right frame, the horizontal scroll bar will also show.
You can see that this problem is caused by the vertical scroll bar
by going to a page whose content fits entirely in the frame:
Make the window tall enough so the vertical scroll bar disappears.
This causes the horizontal scroll bar to disappear.
Fixed using recommendation.
The horizontal scroll bar will go away if you change api/index.html
<FRAME src="overview-summary.html" name="classFrame">
<FRAME src="overview-summary.html" name="classFrame" scrolling="yes">
The scrolling="yes" attribute forces the vertical scroll bar to appear
(even if the content completely fits in the frame) which causes
Internet Explorer to layout the vertical scroll bar before it starts
laying out the page, thereby rendering the document inside the area
bounded by the vertical scroll bar (instead of behind it), causing the
horizontal scroll bar to disappear. Voila! No more horizontal scrolling