offline version v3


49 of 298 menu

border-right-width property

The border-right-width property specifies a width of a right border. The value of the property is any size units, except percentages, or the keywords thin (2 pixels border), medium (4 pixels border) or thick (6 pixels border). Default value: medium.

Syntax

selector { border-right-width: value; }

Example

Let's set a right border to one pixel width:

<div id="elem"></div> #elem { border-right-width: 1px; border-right-style: solid; border-right-color: black; background: #f9f9f9; width: 300px; height: 100px; }

:

See also

enru