Border subformats apply to paragraph, table, row, and cell formats. When you want borders around text, parts of a table, or components of a page (RTF only), you assign the name of a border subformat to the item to be bordered. The default is no border.
As a convention, the name of any border subformat should end in Border. If you give a border subformat a name that does not end in Border, if the definition is in a file different from the file where it is referenced, DITA2Go will not be able to find the subformat. (But see §8.10 Localizing output headings, labels, and names.) Table 8-1 lists the border properties and the values you can assign to them.
type |
Names in parentheses are synonyms; hidden overrides all other properties: |
color |
CSS color name; for HTML, this is the fill color in CSS terms |
thick |
|
space |
Border subformat properties can be based on the properties of other border subformats. For example:
[LightBorder] type = single color = black thick = 1pt space = 6pt
[HeavyBorder] based = LightBorder thick = 2pt
[DoubleBorder] based = LightBorder type = double
To override border properties for a particular instance of an element, you can specify a different property in the outputclass attribute for that instance. See §8.4 Overriding border and shading properties.