1. Computing & Technology

Discuss in my forum

border-right-width

By , About.com Guide

border-right-width Description:

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

border-right-width in CSS Versions:

border-right-width Syntax:

border-right-width: thin | medium | thick | <length> | inherit

  • thin, medium, or thick
    The length of these keywords is user-agent dependent, but thin <= medium <= thick.
  • length
    A specific length (include unit of measure).
  • inherit
    The element should have the same border-right-width setting as the parent.

border-right-width Initial Value:

medium

border-right-width Applies To:

All elements.

border-right-width Inheritance:

This property is not inherited.

border-right-width Browser Support:

border-right-width Examples:

standard border-right-width

<p style="border-right-width : 2em;">
 This paragraph has a 2 em right border.
 </p>

border-right-width Special Notes:

  • Negative values are permitted.
  • If you don't set the border-style, the border will not display.

More border-right-width Information:

©2012 About.com. All rights reserved.

A part of The New York Times Company.