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

left

英[ left] 美[lɛft]

adj. Left, left; leftist

n. Left, left; [military] left; left, radical

adv. To the left; on the left

v. Leave (past tense and past participle of leave)

Plural: lefts

width

UK[wɪdθ] US[wɪdθ, wɪθ, wɪtθ]

n.Width; breadth

Plural: widths

css border-left-width property syntax

Function: Set the width of the left 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 attribute before the border-left-width attribute. An element can only change the width of its border after it has acquired it.

css border-left-width property example

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

<p class="one"><b>注释:</b>"border-left-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