Back to main page!

Knowledgebase Home Knowledgebase Home
Search the Knowledgebase Browse by Category
Exactly what does the border-color CSS attribute do?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
To quote the CSS2 specification:
"if there is only one value, it applies to all sides. If there are two values, the top and bottom borders are set to the first value and the right and left are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively."
For example, the following statement in a .css cascading style sheet file:

H1 { border-color: red green blue orange }

Indicates that text in <H1> heading elements should be surrounded by a border which is red on the top, green on the right side, blue on the bottom, and orange on the left. (Not a recommended design choice)
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.

Home | Web Design | Print Advertisements | Banner Design | Other Services


Copyright © 2003 Digital Arts Group @ FrankGonzalez.com. All Rights Reserved
About Us | Disclaimer | Privacy Policy | Terms of Use | Design Team | Sitemap