CSS Overflow Property

CSS 1

CSS 2

CSS 3

No Yes Yes

Description

Specifies what's done with content that's greater than the content area of an element.

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

blockquote {width: 150px; height: 65px; overflow: scroll;}


View All CSS Properties