asp.net.ph

Skip Navigation LinksAbakada: Back to Basics > Language References > CSS Properties > Box Properties > border-right-width Property

border-right-width | borderRightWidth Property


Sets or retrieves the width of the object’s right border.

Syntax

CSS { border-right-width: 'medium' | 'thin' | 'thick' | length }
Script object.style.borderRightWidth = sWidth ]

Possible Values

medium Default width.
thin Width less than the default.
thick Width greater than the default.
length Floating-point number and a valid CSS length unit: either an absolute units designator ( cm, mm, in, pt, pc, or px ) or a relative units designator ( em or ex ).

The property is read/write with a default value of medium; the CSS property is not inherited.

Remarks

The SPAN and DIV objects must have either the position or the width attribute set in order to apply a border.

The property is supported on block and replaced objects only.

See Also

border-right, border-right-color, border-right-style

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note