Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

How to add a left-border and right-border to a table and color it.

...

Here are the Optional TD Attributes 

DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute
Value
Description
DTD
abbrtextSpecifies an abbreviated version of the content in a cellSTF
alignleft
right
center
justify
char
Aligns the content in a cellSTF
axiscategory_nameCategorizes cellsSTF
bgcolorrgb(x,x,x)
#xxxxxx
colorname
Deprecated. Use styles instead.
Specifies the background color of a cell
TF
charcharacterAligns the content in a cell to a characterSTF
charoffnumberSets the number of characters the content will be aligned from the character specified by the char attributeSTF
colspannumberSpecifies the number of columns a cell should spanSTF
headersheader_idSpecifies one or more header cells a cell is related toSTF
heightpixels
%
Deprecated. Use styles instead.
Sets the height of a cell
TF
nowrapnowrapDeprecated. Use styles instead.
Specifies that the content inside a cell should not wrap
TF
rowspannumberSets the number of rows a cell should spanSTF
scopecol
colgroup
row
rowgroup
Defines a way to associate header cells and data cells in a tableSTF
valigntop
middle
bottom
baseline
Vertical aligns the content in a cellSTF
widthpixels
%
Deprecated. Use styles instead.
Specifies the width of a cell
TF

...