Latest

recent

CSS overflow Property

Definition

The overflow property sets what happens if the content of an element overflow its area.
Inherited: No

JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.overflow="hidden"

Example

p
{
overflow: scroll
}

Possible Values

Value Description
visible Default. The content is not clipped. It renders outside the element
hidden The content is clipped, but the browser does not display a scroll-bar to see the rest of the content 
scroll The content is clipped, but the browser displays a scroll-bar to see the rest of the content
auto If the content is clipped, the browser should display a scroll-bar to see the rest of the content

Goto CSS3 and CSS2 complete reference
CSS overflow Property Reviewed by 1000sourcecodes on 21:02 Rating: 5
Powered by Blogger.