[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
bottom (Table Cell Bottom Margin Default)
This element specifies the amount of space which shall be left between the bottom extent of the cell contents and the border of all table cells within the parent table (or table row). This setting may be overridden by the table cell bottom margin definition specified by the bottom element contained within the table cell's properties (§2.4.2).
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 bottom margin is never specified in the style hierarchy, then this table shall have no bottom cell padding by default (excepting individual cell overrides).
[Example: Consider a two by two table in which the default table cell bottom 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:bottom 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. end example]
Parent Elements |
tblCellMar (§2.4.39); tblCellMar (§2.4.40) |
Attributes |
Description |
type (Table Width Type) |
Specifies the units of the width property being defined by the parent element’s w attribute. This property is used to define various properties of a table, including: cell spacing, preferred width, and table margins.
If this attribute is omitted, then its value shall be assumed to be dxa (twentieths of a point).
[Example: Consider a table with a table cell bottom cell spacing with a type of dxa, as follows:
This type shall therefore be used to interpret the width specified in the w attribute as a value in twentieths of a point. end example]
The possible values for this attribute are defined by the ST_TblWidth simple type (§2.18.97). |
w (Table Width Value) |
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 0.
[Example: Consider a table with a bottom margin with a width of 302, as follows:
<w:bottom w:w="302" w:type="dxa" />
The value in the w attribute shall therefore be used to determine the width being specified in the context of the units specified in the type attribute. In this case, the type is twentieths of a point (dxa), so the width is 302 twentieths of a point (.2097 inches). end example]
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>