Prev | Current Page 283 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

See the entry on min-height (p. 190) for the
reverse of this scenario.
Box Properties
193 Box Properties
If the contents of a block require more vertical space than is afforded by the limits
that have been set, their behavior is defined by the overflow (p. 280) property.
Value
The property takes a CSS length (px, pt, em, and so on), a percentage, or the keyword
none. Negative length values are illegal.
Percentage values refer to the height of the containing block. If the height of the
containing block is not specified explicitly (that is, it depends on content height),
and this element is not absolutely positioned, the percentage value is treated as
none.
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Partial Full Full Full Full None None
Safari??™s support for this property, when applied to positioned elements, is limited
to versions 2.0.2 or above.
The Ultimate CSS Reference 194
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.


Pages:
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295