For absolutely positioned elements, for
example, the content height may be calculated on the basis of the top (p. 275) and
bottom (p. 277) property values, or the top and bottom margins, borders, and padding
applied to the element. If no hard constraints are imposed by other properties, the
element is allowed to assume its ???natural??? content height, on the basis of the height
of the content it contains.
SPEC
version initial inherited
CSS1 auto NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE7+
FULL FULL FULL FULL
189 Box Properties
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 Full Full Full Full Full Buggy Buggy
Internet Explorer for Windows versions up to and including 5.5 (and up to and
including version 7 in quirks mode) incorrectly include padding, borders, and
margins in the content height calculation. This is known as the box model bug, or
the IE5 box model??”see The CSS Box Model (p. 142).
Internet Explorer for Windows versions up to and including 6 (and up to and
including version 7 in quirks mode) incorrectly treat height as min-height,
extending the content height of a block if its content can??™t fit within the specified
height.
Pages:
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288