IFRAME horizontal scroll bar always appears in IE6 on PC regardless of content width
Posted on 2005-03-23
I have a page with an embedded IFRAME coded as follows:
<iframe src="framecontent.html" width="505" height="380" frameborder="0"></iframe>
The target page contains a table of 483px wide with only text contained therein.
I have tested this page on a PC & Mac on with all popular browsers. For some reason on IE (specifically IE6 on XP Pro) when the vertical scroll bar appears so does the horizontal, even though the content does not exceed the size of the frame.
I have tried reducing the width of the table but the scroll bar remains. Is this a "feature" of IE?
Is there a way to control the scroll bars independently? I do have some pages that need to scroll vertically and some that do not, but certainly I do not need any horizontal scrolling.