Abakada DHTML Demo: CSS overflow Attribute


This example shows the effects of applying different values possible for the CSS overflow attribute.

Select from the overflow options below to see how the style is applied,
and note the resulting CSS syntax for the style declaration.

Syntax { overflow: auto }

This DIV object has a lot of information.

So much information, in fact, that this text will extend beyond the height and width values specified in an inline style.

One of the ways to manage this is with the CSS overflow style attribute.

By setting the overflow style attribute inline on the DIV with a value of auto, the DIV will automatically add scrollbars if necessary.

Experiment with the different overflow settings by selecting from the options below.


Select Option

View Source   Exit

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.