css border property


  Translation results:

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

##n.Border; edge; edge; hemming

vt.& vi. ...bound, on the side of...

vt. Along the side of, surrounding..., edging...

vi.Approximate, adjacent

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

css border propertysyntax

Function: Set all border properties in one statement.

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

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

css border propertyexample

<html>
<head>
<style type="text/css">
p 
{
border: medium double rgb(250,0,255)
}
</style>
</head>

<body>
<p>Some text</p>
</body>

</html>

Run instance »

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

Popular Recommendations

Home

Videos

Q&A