No more then a few paragraphs of things I want to archive (instead of try to remember)

Tuesday, June 5, 2007

Scrolling DIV

One very handy way to scroll content of any kind in HTML is a scrolling div.



<div style="overflow:auto; position:relative; width:150px; height:50px;">
    line 1<br>
    line 2<br>
    line 3<br>
    line 4<br>
    line 5<br>
    <b>testing bold</b><br>
    <u>testing underline</u><br>
</
div>

0 comments: