HTML Scroll Box
An HTML scroll box is a box that grows scroll bars when it's contents are too large to fit in the box. How do you make the box? You create the box using the HTML div tag. Then, to make the box scroll, you apply the CSS overflow property to the div.
But, you don't need to worry about the technical details if you don't want to. You can simply copy and paste the HTML scroll box code below. Of course, you can change the values to suit (such as the size of the scroll box, color etc)
But, you don't need to worry about the technical details if you don't want to. You can simply copy and paste the HTML scroll box code below. Of course, you can change the values to suit (such as the size of the scroll box, color etc)
Basic HTML Scroll Box
HTML code:
<!-- HTML Codes by Quackit.com
--><br /> <div style="height:120px;width:250px;font:16px/26px
Georgia, Garamond, Serif;overflow:scroll;"><br /> As you can see,
once there's enough text in this box, the box will grow scroll bars... that's
why we call it a scroll box! You could also place an image into the scroll
box.<br /> </div><br /> <p
style="font-family:verdana,arial,sans-serif;font-size:10px;"><a
href="http://www.quackit.com/html/codes/html_scroll_box.cfm">HTML
scrollbox</a></p><br />
RESULT
As you can see, once there's
enough text in this box, the box will grow scroll bars... that's why we call it
a scroll box! You could also place an image into the scroll box.
0 comments:
Post a Comment