Z
Z
Hi,
I have problem with auto-scrolling frames in IE (6.0 on Xp, but same happens
with IE 5.5 on Win2k):
If I set scrolling="auto" to frame, IE reserves space where vertical
scrollbar normally goes and doesn't render contents there when scrollbar is
hidden.
Here is frameset with left and right frames:
framset.html:
------------
<html>
<frameset cols="200,*" framespacing="0" border="0" frameborder="no">
<frame scrolling="auto" src="left.html" name="menu">
<frame scrolling="auto" src="right.html" name="main">
</frameset>
</html>
------------
left.html:
------------
<html>
<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
bgColor="#AAFFAA">
<table cellspacing=0 cellpadding=0 width="100%" border=1>
<tr>
<td width="100%" height=500 align=middle>left<td>
</tr>
</table>
</body>
</html>
------------
right.html:
------------
<html>
<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
bgColor="#FFAAAA">
<table cellspacing=0 cellpadding=0 width="100%" border=1>
<tr>
<td width="100%" height=500 align=middle>right<td>
</tr>
</table>
</body>
</html>
------------
When scrollbars are not visible, there should be no space between frames,
but IE adds blank strip (of scrollbar with) on the right side of each frame.
Opera (7.10) and Mozilla (1.6) render frameset correctly: tables on both
frames stretches to frame with, and when scrollbars goes on (due to browser
resizing) both tables shrink by scrollbar width.
Thanks,
Zoran Perak
I have problem with auto-scrolling frames in IE (6.0 on Xp, but same happens
with IE 5.5 on Win2k):
If I set scrolling="auto" to frame, IE reserves space where vertical
scrollbar normally goes and doesn't render contents there when scrollbar is
hidden.
Here is frameset with left and right frames:
framset.html:
------------
<html>
<frameset cols="200,*" framespacing="0" border="0" frameborder="no">
<frame scrolling="auto" src="left.html" name="menu">
<frame scrolling="auto" src="right.html" name="main">
</frameset>
</html>
------------
left.html:
------------
<html>
<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
bgColor="#AAFFAA">
<table cellspacing=0 cellpadding=0 width="100%" border=1>
<tr>
<td width="100%" height=500 align=middle>left<td>
</tr>
</table>
</body>
</html>
------------
right.html:
------------
<html>
<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
bgColor="#FFAAAA">
<table cellspacing=0 cellpadding=0 width="100%" border=1>
<tr>
<td width="100%" height=500 align=middle>right<td>
</tr>
</table>
</body>
</html>
------------
When scrollbars are not visible, there should be no space between frames,
but IE adds blank strip (of scrollbar with) on the right side of each frame.
Opera (7.10) and Mozilla (1.6) render frameset correctly: tables on both
frames stretches to frame with, and when scrollbars goes on (due to browser
resizing) both tables shrink by scrollbar width.
Thanks,
Zoran Perak