Home Articles CSS Disableing scroll bar


Disableing scroll bar

User Rating: / 1
PoorBest 
Avatar

In some cases we would like to disable the scroll bar on the page in that case we can use the following lines in the appropiate section of the .aspx page. the code is as follows

< body style="overflow: hidden" >

[style type="text/css"]

body {

overflow-x: hidden;

overflow-y: scroll;

}

[/style]

 

Note: That all browsers doest not support this method (for instance IE for Mac still shows the scrollbars).

 

Thanks and Regards

Meetu Choudhary

Founder http://www.msdotnetmentor.com

Comments (0)
Only registered users can write comments!
Last Updated on Thursday, 25 February 2010 12:22  

Member Login

AddThis Social Bookmark Button