17.4.75 top

This element specifies the amount of space which shall be left between the top extent of the cell contents and the top border of all table cells within the parent table. This setting can be overridden by the table cell top margin definition specified by the top element contained within the table cell’s properties (17.4.77).

This value is specified in the units applied via its type attribute. Any width value of type pct or auto for this element shall be ignored.

If this element is omitted, then it shall inherit the table cell margin from the associated table style. If a top margin is never specified in the style hierarchy, then this table shall have no top cell padding by default (excepting individual cell overrides).

[Example: Consider a two by two table in which the default table cell top margin is specified to be exactly 0.25 inches, as follows (marked with an arrow in the first table cell below):

R1C1

R2C1

R2C1

R2C2

This table property is specified using the following WordprocessingML markup:

<w:tbl>
  <w:tblPr>
    <w:tblCellMar>
      <w:top w:w="360" w:type="dxa"/>
    </w:tblCellMar>
  </w:tblPr>
</w:tbl>

Every cell in the table has a default cell margin setting it to

end example]

This element’s content model is defined by the common table measurement definition in 17.4.87.

Last updated on