3/30/2005

HTML Tricks: Scroll Box


Here's how to add a scroll box to your website, blog, or whatever! Simply take this code:


<div style="border: 1px solid #aaa;background-colo r:#f9efef; width:350px; height:250px; overflow:auto; color:#FFF;"><p>

</p>
</div>


Place whatever you want in between the <p> and </p>. Adjust size, border, background, and text color as needed.