Overflow

The overflow property specifies what happens to the content of a block-level element when the content doesn't not fit into the space allocated for the element.
PropertiesDescription
visiblethe content is not clipped and will be rendered outside of the box element
hiddenthe content is clipped and cannot be scrolled
scrollthe content is clipped but can be scrolled
autothe value is browser dependent
inheritthe value is inherited from the parent.
There are other two overflow properties which are specific to x or y axis.
PropertiesDescription
overflow-xspecify an overflow behavior along x-axis only
overflow-yspecify an overflow behavior along y-axis only
Note
If the overflow property is not set, the default value visible will be set.
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents