DIV[class='menubar'] A {
font-size: 8pt;
display: block; width: 5em;
color: white; background-color: transparent;
border: 1px solid transparent; }
DIV[class='menubar'] A:visited {
color: #bbb; background-color: transparent; }
DIV[class='menubar'] A:hover {
color: white; background-color: #469; /* re-specify this, it was overridden */
border: 1px dashed yellow; }
| Value: | <color>{1,4} | transparent | inherit |
| Initial: | see individual properties |
| Applies to: | all elements |
| Inherited: | no |
| Percentages: | N/A |
| Media: | visual |
The 'border-color' property sets the color of the four borders. Values have the following meanings:
Invalid number : borderToo many values or values are not recognized : 1px solid transparent