12345678
Cells:
- in first row (green) height:40px, padding-bottom:20px, border-bottom:10px
- in second row (blue) height:20px, border-bottom:10px
Tables:
- first normal,
- second 'fixed',
- third with divs inside (height moved on those),
- fourth has (total) height on rows,
- fifth has first column with cells with total height (no padding, no border) and width 0,
- sixth has border-box,
- seventh has content-box,
- eighth has border-collapse: collapse
Results: height on cell (td) is interpreted as:
- content-box height in: IE/Win/standards, Saf3/standards
- border-box height in: IE/Win/quirks, Gecko 1.8+, Op9, Saf3/quirks
Divs:
- first set 'normal',
- second with content-box,
- third with padding-box,
- fourth with border-box.
Default is:
- content-box: Gecko, IE/Win/standards, Op9, Saf
- border-box: IE/Win/quirks
Related: