• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16.  Layout with Styles > Determining Where Overflow Should Go

Determining Where Overflow Should Go

If you make an element's box smaller than its contents with the height and width properties (see page 278), the excess content has to go somewhere. You can decide where it should go with the overflow property.

To determine where overflow should go:

1.
Type overflow:.

2.
Type visible to expand the element box so that its contents fit. This is the default option.

Or type hidden to hide any contents that don't fit in the element box.

Or type scroll to add scroll bars to the element so that the visitor can access the overflow if they so desire.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint