|
Digital: I figured that'd come as common sense, hehe.
malboroman:
Create a file named style.css and make it contain:
div.scroll {overflow: auto;}
Then in the header of your HTML page put:
<link rel="stylesheet" type="text/css" href="style.css" />
That is assuming the CSS file is in the same directory as the HTML file, change the href="" attribute for others.
Now to insert the div in your page just put:
<div class="scroll">Content Here</div>
and as Digital said you will need width and height attributes, you can do this two ways... here they are:
div.scroll {overflow: auto; width: ###; height: ###;}
or
<div class="scroll" width="###" height="###">Content Here</div>
I recommend you use CSS to do it, because its the valid W3C standard code, but either will work.. for now.
Hope that helps.
|