159
CHAPTER
Laying Out Pages 6
TIP
What are the other options available for overflow?
The other possible values for the overflow property are visible, hidden, and scroll. If you set it
to visible, content that does not fit in the box flows out of it, either overlapping other content or
forcing it down the page. A value of hidden crops the content, cutting it off at the bottom of the box.
The scroll value adds a scrollbar; the difference between scroll and auto is that in the former case,
the scrollbar is always visible, even if not needed, whereas in the later, the scrollbar appears only when
necessary.
● When you view the HTML
page in a browser, the
element displays a scrollbar.
3 On a new line, type
overflow:auto;.