![]() Preserved Topic: stop scrolling w/css (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: look down! |
![]() 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 |
![]() adaline: I haven't tried this but I'd imagine it is something like: code: body {
|
Bipolar (III) Inmate From: look down! |
![]() hey it worked, thanks emps! I know I can always count on ya. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 |
![]() 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 |
![]() I take it back, it *sort* of makes sense that it works that way... I guess... |