DSGN53871
WEB DESIGN 1

CSS Overflow

The overflow property decides what to do if the content inside an element exceeds the given width and height properties.

test

You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.

You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.

The CSS

.scrolldiv
{
background-color:#00FFFF;
width:280px;
height:120px;
overflow: auto;
border: thin solid red;
}

Contents of the span

You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.

You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.



<< Back


Interactive Multimedia ~ School of Applied Engineering and Computing Sciences ~ Sheridan