<top>
(Table Cell Top Margin Default)
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 may be overridden by the table cell top margin definition specified by the <top>
element contained within the table cell's properties (§2.4.73).
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).
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 360
twentieths of a point. ]
Attributes |
Description |
---|---|
|
Specifies the units of the width property being defined by the parent element’s If this attribute is omitted, then its value shall be assumed to be <w:bottom ... w:type="dxa" /> This The possible values for this attribute are defined by the ST_TblWidth simple type (§2.18.97). |
|
Specifies the value of the width property being defined by the parent element. This property is used to define various properties of a table, including: cell spacing, preferred widths, and table margins. If this attribute is omitted, then its value shall be assumed to be <w:bottom w:w="302" w:type="dxa" /> The value in the The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TblWidth">
<attribute name="w" type="ST_DecimalNumber"/>
<attribute name="type" type="ST_TblWidth"/>
</complexType>