17.4.74 top
This element specifies the border which shall be displayed at the top of the current table cell. The appearance of this table cell border in the document shall be determined by the following settings:
- If the net tblCellSpacing element value (17.4.44;17.4.43;17.4.45) applied to the cell is non-zero,
- then the cell border shall always be displayed
- Otherwise, the display of the border is subject to the conflict resolution algorithm defined by the
- tcBorders element (17.4.66) and the tblBorders element (17.4.39;17.4.38)
If this element is omitted, then the top of this table cell shall not have a cell border, and its border can use the table’s border settings as appropriate.
[Example: Consider a table in which the first
R1C1
R2C1
cell in the first row specifies a top cell border , as follows:
R1C2
R2C2
This top cell border is specified using the following WordprocessingML:
<w:tc>
<w:tcPr>
…
<w:tcBorders>
<w:top w:val="thinThickThinSmallGap" w:sz="24" w:space="0"
w:color="FF0000"/>
</w:tcBorders>
</w:tcPr>
<w:p/>
</w:tc>
The top element specifies a three point border of type thinThinThickSmallGap. end example]
This element’s content model is defined by the common border properties definition in 17.3.4.
Last updated on