Name
borderBottomStyle, borderLeftStyle, borderRightStyle, borderTopStyle — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
The line style of a single border edge of an element. The
edge-specific attributes let you override a style that has been
applied to all four edges with the border or
borderStyle properties. See also the
borderStyle property for setting the style for
groups of edges in one statement.
Example
document.all.announce.style.borderBottomStyle = "groove" document.all.announce.style.borderLeftStyle = "double" document.all.announce.style.borderRightStyle = "solid" document.all.announce.style.borderTopStyle = "inset"
Value
Style values are case-insensitive constants that are associated with
specific ways of rendering border lines. The CSS style constants are:
dashed, dotted,
double, groove,
hidden, inset,
none, outset,
ridge, and solid. Not all
browsers recognize all the values in the CSS recommendation. See the
border-style attribute listing in Chapter 10 for complete details on the available border
styles.
Default
None.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access