css border property
Translation results:
UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]
##n.Border; edge; edge; hemmingvt.& vi. ...bound, on the side of...vt. Along the side of, surrounding..., edging...vi.Approximate, adjacentThird person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: borderedcss 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