css border-left property


  Translation results:

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. to leave (past tense and past participle of leave)

Plural: lefts

css border-left propertysyntax

Function: Set all properties of the left border into one statement.

Instructions: The following attributes can be set in order: border-left-width, border-left-style, border-left-color. If you do not set one of the values, there will be no problem. For example, border-left:solid #ff0000; is also allowed.

Note: IE7 and earlier browsers do not support the value "inherit". IE8 requires !DOCTYPE. IE9 supports "inherit".

css border-left propertyexample

<html>
<head>
<style type="text/css">
p 
{
border-style:solid;
border-left:thick double #ff0000;
}
</style>
</head>

<body>
<p>This is some text in a paragraph.</p>
</body>
</html>

Run instance »

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

Popular Recommendations

Home

Videos

Q&A