border

UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]

n.Border; edge; edging; wrapping Edge

vt.& vi. Bound with, on the edge of...

vt. Along the edge of, surround..., edge...

vi. Approximate, adjacent

Third person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: bordered

#right

英[ raɪt] 美[raɪt]

adv. Immediately, right away; to the right, right; appropriately; always

adj. Correct; appropriate; right; good, normal

n.right;right;correct,just;right hand

vt.correct;straighten,make right;arrange;compensate

vi.(ships, etc.) restore , restore stability

Third person singular: rights Plural: rights Present participle: righting Past tense: righted Past participle: righted

width

英[ wɪdθ] 美[wɪdθ, wɪθ, wɪtθ]

n.Width; breadth

Plural: widths

css border-right-width property syntax

Function: Set the width of the right border of the element.

Note: Only works when the border style is not none. If the border style is none, the border width is actually reset to 0. Negative length values ​​are not allowed.

Note: Always declare the border-style property before the border-right-width property. An element can only change the width of its border after it has acquired it.

css border-right-width property example

<html>
<head>
<style type="text/css">
p.one 
{
border-style: solid;
border-right-width: 15px
}
p.two 
{
border-style: solid;
border-right-width: thin
}
</style>
</head>
<body>

<p class="one"><b>注释:</b>"border-right-width" 属性如果单独使用的话是不会起作用的。请首先使用 "border-style" 属性来设置边框。</p>
<p class="two">Some text. Some more text.</p>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance