Friday, 24 June 2011

CSS3 overflow-y Property

This can be used to clip the contents of a DIV element when the content overflows the element's content area.



The overflow-y property specifies whether or not to clip the top/bottom edges of the content - if it overflows the element's content area.

Tip: Use the overflow-x property to determine clipping at the left and right edges.
Default value: visible
JavaScript syntax:"scroll"

overflow-y: visible|hidden|scroll|auto|no-display|no-content;

Click here to play with it using W3Schools Try it editor

No comments:

Post a Comment