O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

border-right-style

Values:

none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset

Initial value:

none

Applies to:

All elements

Inherited:

No

Computed value:

Same as declared value

Description:

Defines the style for the right border of an element. The value must be something other than none for any border to appear.

Examples:

img {border-right-style: dotted;}
h3 {border-right-style: inset;}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required