1. Computing

Discuss in my forum

border-right

By , About.com Guide

border-right Description:

The border-right property is a shorthand tag to define all the right border style properties of an element.

border-right in CSS Versions:

border-right Syntax:

border-right: [ <border-right-width> || <border-style> || <color> ] | inherit

border-right Initial Value:

Not defined for shorthand properties.

border-right Applies To:

All elements.

border-right Inheritance:

This property is not inherited.

border-right Browser Support:

border-right Examples:

standard border-right

<p style="border-right : 2em solid #c00;">
 This paragraph has a 2 em solid red right border.
 </p>

border-right Special Notes:

  • If you omit the color value, the color will be the same as the color value for the element.

More border-right Information:

©2013 About.com. All rights reserved.