Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Table Heights

height

Applies to table, caption, rowgroup, row, cell. Captions behave like ordinary blocks with respect to heights

Does not apply to table columns, and column groups

height: absolute length

For table, rowgroup, row, cell, first the minimum content based height is computed and then the height is:

H = max(H<sub>specified</sub>, H<sub>CONTENTMIN</sub>)

How to distribute the space if H<sub>specified</sub> > H<sub>CONTENTMIN</sub> for tables, rowgroups and rows is not specified in CSS2.1. However this should be specified for mozilla internal and made then public as developers will at least be happy to know how what to expect rather than to be surprised.

min-height, max-height

Applies to table, caption, rowgroup, row, cell. Captions behave like ordinary blocks with respect to heights

Does not apply to table columns, and column groups.

Document Tags and Contributors

 Contributors to this page: Bernd mozilla
 Last updated by: Bernd mozilla,