Help - Search - Members - Calendar
Full Version: Get a scrolling section...
Forums > Resource Center > Webmasters' Corner
funride
I used to only make layouts like that but I threw out my codes.
So can someone tell me how to make a div scroll?
tcunningham
Use of the overflow property; value cannot be default (visible).
carsingh
If you want to use that then please go to codeproject website then you will get what you need with source code.
Mikeplyts
CODE
.DIVNAME {
     width:###px;
     height:###px;
     overflow:AUTO/HIDDEN;
}

Replace DIVNAME with the name of your DIV container, the pound symbols ( # ) with the appropriate values, and choose either AUTO or HIDDEN for you're overflow property. By the way, AUTO makes it scroll and HIDDEN makes anything over the values assigned to the width and height hidden.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.