Preserved Topic: overflow: auto |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Detroit, MI US |
posted 04-11-2002 08:39
Anybody know a good code to substitute for the lack of support for this feature in Netscape 4? Javascript will not be frowned upon. |
Bipolar (III) Inmate From: London, UK |
posted 04-11-2002 16:58
Depends on what you're using it for... |
Bipolar (III) Inmate From: Detroit, MI US |
posted 04-11-2002 17:16
What I actually want is a scrolling text box, exactly as the style sheet would do with the overflow:scroll function. However, as we all know, this does not work in Netscape 4. I am just looking for a substitute to this for Netscape. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-11-2002 20:54
Maybe this can help you: http://www.netscape.com/computing/webbuilding/studio/feature1999v1n3-1.html |
Bipolar (III) Inmate From: Detroit, MI US |
posted 04-11-2002 22:14
Thanks Max. You always give a lot of cool links. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 04-12-2002 04:23
Red Ninja: Nice link from mr.maX. You could also try some kind of scrolling layer and put the overflowed DIV in <NOLAYER> tags. You will also have to remember that overflow: auto doesn't work in Opera so you will have to keep an eye on how it behaves there (sometimes it degrades badly sometimes its OK). |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 04-12-2002 07:12
Red Ninja, that script was written a way back in 1999, and therefore you should only use it for 4.x generation of browsers (write a browser detector), for every other browser, you should either use overflow:hidden; on <DIV> layers (IE5+, Netscape 6) or <IFRAME> which is supported by all modern browsers (it doesn't work in Netscape 4, bu it works in Opera, IE, and NN6)... |
Bipolar (III) Inmate From: London, UK |
posted 04-12-2002 15:42
At the moment, I can only suggest using an iframe (IE) or an ilayer (NS) and put the framed text in a seperate page - but the book I have here doesn't have up-to-date specs on these two elements. Apparently, iframe is supposed to be part of the HTML4.0 spec, so maybe NS will support it by now... |