17.4.77 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 a specific table cell within a table. This setting shall override the table cell top margin definition specified by the top element contained within the table properties (17.4.75).

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 omitted, then this table cell shall use the bottom cell margins defined in the top element contained within the table properties (17.4.75).

[Example: Consider a table with two cells in which the first table cell’s top margin is specified via an exception to be ten times larger (0.2 inches vs. 0.02 inches) than the other table cell margins:

This text fills the extents of the cell. So does this

The first cell in the table would be specified using the following WordprocessingML:

<w:tc>
  <w:tcPr>
    <w:tcMar>
      <w:top w:w="288" w:type="dxa" />
    </w:tcMar>
  </w:tcPr>
</w:tc>

The first cell in this table has an exception applied to the table cell top cell margin setting it to 288 twentieths of a point (0.2 inches). end example]

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

Last updated on