NOTE: This is a collection of information and links collected over the years that might provide useful information. A Safer Company LLC does not guarantee, endorse or approve any of these links or their scripts. Use these links to other websites at your own risk.
CSS - Overflow Property
The overflow property specifies what to do if the content of an element exceeds the size of the element's box.
overflow:scroll;
Notice the scroll bar on the box below:
overflow:hidden;
Notice that some of the text is hidden in the box below:
overflow:auto;
.overflow_auto{
background-color:#00FFFF;
width:150px;
height:150px;
overflow:auto;
}
The text below will determine if the scroll is needed.
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, scroll, or inherit and see what happens. The default value is visible.
Page last updated: May 31, 2012 10:25 AM
Content and Navigation...