W3C home > Mailing lists > Public > www-html@w3.org > August 2000

overflow: scroll question (was Another frames question (sorry))

From: Zoltan Hawryluk <zoltan@netcom.ca>
Date: Thu, 17 Aug 2000 17:31:45 -0400
Message-ID: <051686CF5E6CD211B8FC00A0C9D4CF4504A3BB8A@exmail.corp.netcom.ca>
To: 'Bernhard Döbler' <bard@otelo-online.de>, "'www-html@w3.org'" <www-html@w3.org>
Hrm ....

Here's a Good Question (TM).  

If you look at http://tor-pw1.attcanada.ca/~zoltan/overflow.html, you'll see
i have tried to replicate a "frame-like" page using the css property
"overflow: scroll; height: 100%;".
I *thought* that it would make the excess text that overflows off browser
window to scroll (like a left hand frame) 

In Netscape 4.x, it doesn't do that, as I expected, since it doesn't
understand this property ... for me, this is no big deal.  I look at this as
degrading nicely.

In Internet Explorer 4.x and 5.x, it does what I expected.

In Mozilla M17, it *doesn't*.   It assumes the 100% has to do with the
height of the browser, I think.

Which behaviour is correct?  Mozilla's or MSIEs?

Thanks in advance

Zoltan.

--
Zoltan Hawryluk - ZH13, zoltan@attcanada.ca.
WebMaster, AT&T Canada IES. 416-341-5717
"If you want to be Chinese .. you have to eat the nasty stuff."  

> -----Original Message-----
> From: www-html-request@w3.org 
> [mailto:www-html-request@w3.org]On Behalf
> Of Bernhard Döbler
> Sent: Wednesday, August 16, 2000 12:19 PM
> To: www-html@w3.org
> Subject: Betr.: RE: Another frames question (sorry)
> 
> 
> Am Wed, 16 August 2000 schrieb "Bertilo Wennergren":
> 
> > In-Reply-To: <v04220802b5c05ad9b0a9@[63.193.119.97]>
> > Content-Transfer-Encoding: 8bit
> > Sender: www-html-request@w3.org
> > To: <www-html@w3.org>
> > Delivered-To: bard@otelo-online.de
> 
> Hi,
> 
> since you wrote:
> 
> > > >But there is one problem: With frames e.g. a separate 
> navigational
> > > >part can have its own scroll bars. I can't find a way of getting
> > > >that if I use a div with fixed position. If the window gets too
> > > >small, part of the fixed div will stay out of view without any
> > > >means of scrolling it into view.
> > 
> 
> Have you tried out the CSS property overflow in the 
> style-attribute of yor DIV-tag? There you can set visible, 
> scroll, hidden and auto.
> visible enlarges the DIV, scroll inserts scrollbars, hidden 
> cuts the rest off and auto usually inserts scrollbars if the 
> comtent is to large, otherwise it shows the content normal.
> 
> I can't tell you anything about it's browser-compatibiliy but 
> I assume it's CSS-standard.
> 
> Greetings
> Bard
> 
> ----
> Please no HTML-Mails
> Tel. dienstlich: 0 36 81 / 3 87 - 1 08
> Tel./Fax. privat: 0 36 21 / 2 64 18
> Homepage: www.Bernhard-Doebler-Gotha.de
> 
> 
Received on Thursday, 17 August 2000 17:26:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT