Border format components 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 component to the item to be bordered. The default is no border.
As a convention, the name of any border component should end in Border. If you give a border format component 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 format component. (But see §8.9 Localizing output headings, labels, and names.) Table 8-1 lists the border properties and the values you can assign to them.
Names in parentheses are synonyms; hidden overrides all other properties: |
|
CSS color name; for HTML, this is the fill color in CSS terms |
|
Border format component properties can be based on the properties of other border format components. 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.