css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS BORDER-RIGHT-WIDTH

This property controls the thickness (width) of the right border of an element’s rendering box. Negative values are not allowed.

 

Example

strong { border-right-width: 10px }

<strong style=”border-right-width: 10px”>this is a test</strong>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
thin | medium | thick Renders a “thin”, “medium” or “thick” border on the right side of the element’s rendering box. The actual thickness of these border values is not specified, but “thin” should have a smaller thickness than “medium”, which should have a smaller thickness than “thick”.
[length] Sets the width of the border on the right side of the element’s rendering box to an explicit measurement.

 

2 Responses

  1. Michelle Landers says:

    For the thick value, how many pixels would that be? Thanks

    • James Cartwright says:

      I think it’s 3 pixels. Just try it out, and paste it into photoshop or a graphics program.

Leave a Reply

Pages

Sponsors

$100 PSD to XHTML. CONTACT US FOR MORE INFORMATION


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 1074 access attempts in the last 7 days.