Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Borders and Outlines
Border properties allow the author to control a box??™s border??”the area between its
padding and its margins. You can also read The CSS Box Model (p. 142) for more
information about borders.
Outline properties allow the author to control a box??™s outline. The outline is usually
drawn outside the border area but doesn??™t take up any space like borders do.
border-top-color
border-top-color: { color | transparent | inherit } ;
The property border-top-color sets
the color for the top border of an
element.
Borders are placed on top of the
element??™s background.
Example
This style rule assigns a black color to the
top border of paragraphs within the
element with ID "example":
#example p {
border-top-color: #000;
border-top-style: solid;
}
SPEC
version initial inherited
CSS1, 2.1 see below NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
Value
This property takes any valid CSS color value or color keyword (p.
Pages:
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337