School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

 

Code Snippets

  

HTML/CSS Source Code


Welcome to Dream.In.Code
Become an Expert!

Join 340,162 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 4,043 people online right now. Registration is fast and FREE... Join Now!




Scrollable Div

Div layer with a scroll bar

Submitted By: deadlypetal
Actions:
Rating:
Views: 139,501

Language: HTML/CSS

Last Modified: April 13, 2007
Instructions: Just paste and edit

Snippet


  1. <div style="position:absolute;
  2. left:100px;
  3. top:100px;
  4. width:100px;
  5. height:100px;
  6. background-color:#ffffff;
  7. overflow:auto;">
  8.  
  9. PUT YOUR TEXT HERE
  10.  
  11. </div>

Copy & Paste


Comments

michaeln 2009-07-24 03:01:03

Usefull one !

ccubed 2009-12-08 11:19:49

I recently used this in a project. I never would have of thought of doing something like this. It works great. kudos.


Add comment


You must be registered and logged on to </dream.in.code> to leave comments.





Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month