HTML and CSS Reference
In-Depth Information
can be viewed. A value of auto allows the user agent to decide how to handle content
that overflows. The following illustration should make the meaning of the values clear:
Visible
Hidden
Scroll
Auto
Examples
#div1 {position: absolute; left: 20px; top: 20px;
width: 100px; height: 100px; overflow: scroll;}
#div2 {height: 100px; width: 100px; overflow: hidden;}
Compatibility
CSS 2, 3 IE 4-5.5 (buggy), 6+ Netscape 4-4.8 (buggy), 6+, Firefox 1+ Opera 4+, Safari 1+
padding
The padding property sets the space between an element's border and its content.
Syntax
padding: padding1 [... padding4 ] | inherit
Search WWH ::




Custom Search