Preserved Topic: stop scrolling w/css (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: look down! |
posted 11-26-2001 21:25
How do I stop a page from scrolling using css on it? I should know this but ah-ha! I don't. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-26-2001 21:35
adaline: I haven't tried this but I'd imagine it is something like: code: body {
|
Bipolar (III) Inmate From: look down! |
posted 11-26-2001 21:44
hey it worked, thanks emps! I know I can always count on ya. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-26-2001 23:01
Don't rely on it for anything important, it'll fail on older browsers. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-26-2001 23:22
Slime is right - I should have added that caveat. While it answers the question it possibly doesn't address the possible problem you are trying to address - most people would stick it in frames to turn off the scrolling. The fact that setting overflow on the body does work in more recent browsers (well when set to auto anyway - I think) is a nice bonus. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-27-2001 00:20
I take it back, it *sort* of makes sense that it works that way... I guess... |