This example demonstrates how to set the border colors. Like the border-width and border-style properties, this too, can have from one to four values:
4 Values: border-color: #ff0000 blue #00ff00 rgb(250,0,255);
|
3 Values: border-color: #ff0000 blue #00ff00;
|
2 Values: border-color: #ff0000 blue;
|
1 Value: border-color: #ff0000;
|
![]() |
Remember: To have a visible border, you MUST have a border-style defined! For this example, the border-style property is set to solid. |