A somewhat unused property in CSS is the overflow property. This is only
supported by IE4 or higher. It allows you to set weather or not to scroll
HTML that has gone out of its set boundries.
| overflow: |
visible |
| hidden |
| scroll |
| auto: |
Listed to the left are the possible values of overflow. visible
means to ignore boundries, hidden means to hide the content
that overflows the boundries, scroll means show scroll bars
no matter what, and auto means to show scroll bars if the
content overflows.
To use this property in a usefull way, you could use it with a div. First
create the <DIV style=""></DIV> tags.
now set the width and height in the quotes. Then set the overflow to auto,
then you should have somthing like this:
<DIV STYLE="width:200;height:200;overflow:auto;"></DIV>
Now put some stuff inside the divs. if there is more that can fit in
the set width, you will be able to scroll the excess content in the 200x200
area. Take a look at a woking example below.