Computing.Net > Forums > Web Development > Disable Scrolling

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Disable Scrolling

Reply to Message Icon

Name: SethZankuten
Date: September 7, 2004 at 10:12:10 Pacific
OS: Windows 98 SE
CPU/Ram: Celleron, 384
Comment:

I was just wondering if anyone could tell me the coding to dissable scrolling on a web page. I know how to do it in frames and iframes but I can't seem to figure it out for the main page. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Khalid
Date: September 7, 2004 at 12:10:42 Pacific
Reply:

[style type="text/css"]

body {
overflow-x: hidden;
overflow-y: scroll;
}

[/style]

Not all browsers support this method (for instance IE for Mac still shows the scrollbars).


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Disable Scrolling

Can I disable mouse wheel scrolling www.computing.net/answers/webdevel/can-i-disable-mouse-wheel-scrolling/174.html

Sisable scroll bars www.computing.net/answers/webdevel/sisable-scroll-bars-/1102.html

Hide page scrollbars w/ javascript www.computing.net/answers/webdevel/hide-page-scrollbars-w-javascript/2916.html