Skip to main content

BorderStyle

Description

Indicates the style of the border (e.g., solid, dashed, dotted).

Owner

Layout

Inheritable

No

Default Value

None

Values

Value Type:
name
  • NoneNo border. Forces the computed value of BorderThickness to be 0.
  • HiddenSame as None, except in terms of border conflict resolution for table elements.
  • DottedThe border is a series of dots.
  • DashedThe border is a series of short line segments.
  • SolidThe border is a single line segment.
  • DoubleThe border is two solid lines. The sum of the two lines and the space between them equals the value of BorderThickness.
  • GrooveThe border looks as though it were carved into the canvas.
  • RidgeThe border looks as though it were coming out of the canvas (the opposite of Groove).
  • InsetThe border makes the entire box look as though it were embedded in the canvas.
  • OutsetThe border makes the entire box look as though it were coming out of the canvas (the opposite of Inset).
Value Type:
array
  • An array of four entries, each entry specifying the style 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.
  • A name from the list below representing the border style to apply to all four edges.

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