Quackit Logo

Got a MySpace Page?

Get "www.yourname.com" for your MySpace page. Learn how >>.

CSS overflow

Print Version

Also see the full, alphabetical list of CSS properties


The CSS overflow property allows you to determine what to when a box is too small for its contents. You can create scrollbars, hide the contents, or automatically expand the box.

Syntax: overflow: <value>;
Possible Values:
  • visible
  • hidden
  • scroll
  • auto
  • inherit
Initial Value: visible
Applies to: Block-level and replaced elements
Inherited: No
Media: Visual
Example: div.small-box {overflow:scroll}
Try it yourself! HTML Editor


Also see all CSS properties listed alphabetically


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!