Name
BORDERCOLOR — NN 3 IE 4 HTML n/a
Synopsis
BORDERCOLOR=”colorTripletOrName"
Optional
If your frameset displays borders (as set with the
BORDER
attribute of the
FRAMESET
element), but you want a subset of the
frames in the frameset to be rendered with a border color different
from the rest, you can assign a color to the
BORDERCOLOR
attribute of an individual
FRAME
element. Mixing border colors in a frameset
exposes your HTML to the risk of different rendering techniques of
each browser and operating system. Not only do the precise pixel
composition of borders vary, but each browser and operating system
may resolve conflicts between different colored borders differently.
If you assign a color to only some frames of a frameset, be sure to
test the look on as many browser versions and operating systems as
possible to evaluate the visual effect of your color choices.
Example
<FRAME NAME="navbar" SRC="nav.html" BORDERCOLOR="salmon">
Value
A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.
Default
None.
Object Model Reference
- IE
[window.]document.all.frameID.borderColor
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.