Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- overflow {
- background: black;
- color: white;
- padding: 25px;
- width: 75%;
- height: 100px;
- overflow: scroll;
- border: 5px solid #ccc;
- }
- <div id="overflow">So, this is a very long text box and so it would be inconvenient to put it on the page, so using box with a scroller may be more convenient and certainly more nicer. This is only 100px so it is quite small and compact but that does not equal bad :)</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement