1. Home
  2. Computing & Technology
  3. Web Design / HTML

border-right-color

By Jennifer Kyrnin, About.com

border-right-color Description:

The border-right-color property defines the color of the right border of the element.

border-right-color in CSS Versions:

border-right-color Syntax:

border-right-color: <color> | transparent | inherit

  • color
    A specific color.
  • transparent
    The color of the element beneath it shows through the border.
  • inherit
    The element should have the same border-right-color setting as the parent.

border-right-color Initial Value:

The value of the color property.

border-right-color Applies To:

All elements.

border-right-color Inheritance:

This property is not inherited.

border-right-color Browser Support:

border-right-color Examples:

standard border-right-color

<p style="border-right-color : red; border-right-width:1em; border-right-style: solid;">
This paragraph has a red right border.
</p>

border-right-color Special Notes:

  • Colors can be defined as hexadecimal (#ff0000), RGB (rgb(255,0,0)), or color names (red).

More border-right-color Information:

Return to the Style Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. Style Properties
  6. CSS Style Property: border-right-color

©2008 About.com, a part of The New York Times Company.

All rights reserved.