lundi 9 décembre 2013
The overflow declaration
Posted on 23:01 by mabrouk
The
overflow
declaration tells the browser what to do with content that doesn't fit in a box. This assumes the box has aheight
: if it doesn't, it becomes as high as necessary to contain its contents, and the overflow
declaration is useless.
You can assign four values to overflow and they should give the following results:
visible
: the content flows out of the box.hidden
: the overflowing content is completely hidden, not accessible to the user.auto
: show scrollbars where necessary (horizontal or vertical or both).scroll
: always show horizontal and vertical scrollbars, regardless of whether they're necessary. This value is never used; you generally want auto
.overlay
: non-standard value only supported by the WebKit-browsers that does the same as auto
.The overflow declaration
2013-12-09T23:01:00+01:00
mabrouk
css|html|Symphony|template|
Inscription à :
Publier les commentaires (Atom)