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
[code]
< body style="overflow: hidden" >
[style type="text/css"]
body {
overflow-x: hidden;
overflow-y: scroll;
}
[/style]
[code]
Note: That all browsers doest not support this method (for instance IE for Mac still shows the scrollbars).
in my next article i will post the code how to handle those browsers...
Thanks and Regards
Meetu Choudhary
Founder http://www.msdotnetmentor.com
Wednesday, March 11, 2009
Subscribe to:
Post Comments (Atom)
Subscribe via email
MSDotnetMentor
MSDotnetMentor
My Website
http://msdotnetmentor.com
Author
Blog Archive
-
▼
2009
(53)
-
▼
March
(14)
- Silverlight 3- Beta - released
- Creating Calender Using Java Script
- Blinking Text Using JavaScript
- Use a session variable in the class files in c# AS...
- ASP page with database handling
- Keycodes at a glance
- JavaScript String Replace All
- Type Text in Upper Case using CSS
- No scrollbar on HTML web pages - JavaScript code
- Transparent or Hide Scrollbar
- disable scroll bar
- Show or Hide combobox at Runtime using JavaScript
- Sending Email Through ASP.NET using C#
- Overview of ASP.Net Framework
-
▼
March
(14)
No comments:
Post a Comment