Log In · Register

 
Get a scrolling section...
funride
post Sep 28 2009, 05:06 PM
Post #1


Funride.org
*****

Group: Member
Posts: 326
Joined: Jul 2007
Member No: 542,299



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?
 
 
Start new topic
Replies (1 - 3)
synapse
post Sep 28 2009, 05:45 PM
Post #2


Live long and prosper.
********

Group: Staff Alumni
Posts: 10,142
Joined: Apr 2007
Member No: 514,926



Use of the overflow property; value cannot be default (visible).
 
carsingh
post Oct 18 2009, 02:34 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Oct 2009
Member No: 749,551



If you want to use that then please go to codeproject website then you will get what you need with source code.
 
Mikeplyts
post Oct 18 2009, 04:04 PM
Post #4


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



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.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: