Version: Level 2
Compability: IE4+ N6
| aqua #00FFFF rgb(0,255,255) | gray #808080 rgb(128,128,128) | silver #C0C0C0 rgb(192,192,192) | navy #000080 rgb(0,0,128) |
| black #000000 rgb(0,0,0) | green #800000 rgb(128,0,0) | teal #008080 rgb(0,128,128) | olive #808000 rgb(128,128,0) |
| blue #0000FF rgb(0,0,255) | lime #00FF00 rgb(0,255,0) | white #FFFFFF rg The border-top-color property allows you to set the color of the top border. This property is not inherited. There are similar properties that allow you to set the color for the bottom, left, and right, as well as all four borders. ExamplesCode:table { border-top-color: RGB(201, 94, 177); } Language(s): CSS2Code:p.bordr Output:
Language(s): CSS2See Also: |