Skip to main content

BorderColor

Description

Specifies the color of the border around the element.

Owner

Layout

Inheritable

Yes

Default Value

If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content.

Values

Value Type:
array
  • A single array of three numbers representing the RGB values to apply to all four edges.
  • An array of four arrays, each specifying the RGB values for one edge of the border, in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn.

Related Tags

Art
Artifact
Aside
BibEntry
BlockQuote
Caption
Code
Div
Document
DocumentFragment
Em
FENote
Figure
Form
Formula
H
Hn
Index
L
LBody
LI
Lbl
Link
NonStruct
Note
P
Part
Private
Quote
RB
RP
RT
Reference
Ruby
Sect
Span
Strong
Sub
TBody
TD
TFoot
TH
THead
TOC
TOCI
TR
Table
Title
WP
WT
Warichu