
July 20th, 2005, 06:45 PM
| | | vertical scrollbar problem in IE
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 | 
July 20th, 2005, 06:49 PM
| | | Re: vertical scrollbar problem in IE
On Thu, 19 Feb 2004 11:26:40 +0100, "Z"
<zoran.perak@[remove]zg.hinet.hr> wrote:
[color=blue]
>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.[/color]
It seems to me, that this is not a problem of frames. I have a normal
page, which uses just absolute positioning. My goal was to replace
frames with just css-features to have a page with an application bar
at the top and a scrollable text under it.
This works pretty well on Gecko based browsers and also works on
internet explorer, but internet explorer also draws a second scrollbar
at the right side, but without a slider in it - just the up and down
arrows are shown. This sounds to be the same or a similar problem, as
you have. If I find a solution, I will post it.
--
Martin Doering | 
July 20th, 2005, 06:49 PM
| | | Re: vertical scrollbar problem in IE
Martin,
Thanks.
I agree. It seems that IE reserves place for vertical scrollbar everywhere
where scrollbar is in 'auto' mode (not explicitly shown or hidden).
I am not sure whether it is a bug or a feature but it seems to be consistent
behavior through IE versions.
[color=blue]
> It seems to me, that this is not a problem of frames. I have a normal
> page, which uses just absolute positioning. My goal was to replace
> frames with just css-features to have a page with an application bar
> at the top and a scrollable text under it.
>
> This works pretty well on Gecko based browsers and also works on
> internet explorer, but internet explorer also draws a second scrollbar
> at the right side, but without a slider in it - just the up and down
> arrows are shown. This sounds to be the same or a similar problem, as
> you have. If I find a solution, I will post it.
>
> --
> Martin Doering[/color] | 
July 20th, 2005, 06:49 PM
| | | Re: vertical scrollbar problem in IE
On Tue, 24 Feb 2004 13:37:58 +0100, "Z"
<zoran.perak@[remove]zg.hinet.hr> wrote:
[color=blue]
>Martin,
>
>Thanks.
>I agree. It seems that IE reserves place for vertical scrollbar everywhere
>where scrollbar is in 'auto' mode (not explicitly shown or hidden).
>I am not sure whether it is a bug or a feature but it seems to be consistent
>behavior through IE versions.[/color]
I did find this:
overflow-y: hidden;
at: http://www.frost-bitten.org/frost-bi...scrollbars.htm
Maybe, it does work for you. I did not have success in my IE6. And it
is not official!
Also there is something about it in: http://www.mail-archive.com/mozilla-.../msg02379.html
and possibly this is of use too, its about width/height and
javascript : http://www.dansteinman.com/dynduo/en/widthheight.html
--
Martin | 
July 20th, 2005, 06:49 PM
| | | Re: vertical scrollbar problem in IE
Also look into the next thread here. Also having a problem with
scrollbars was fixed for me (with IE6) by using these Document types
in my web application, that time I did make use of frames:
For my application bar (the menu at top) frame:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd">
and for the text frame under it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
Strange, but this did work with Mozilla and IE6. Maybe, it is also the
solution for your frames (I did spend a looooong time, till I got this
working that time...
--
Martin |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|