css border-top 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

top

英[ tɒp] 美[tɑ:p]

n. Top, top; (box) cover, (book pages, etc.) upper column; chief; top

adj. The highest; top ; first-class; the largest

vt. form the top; reach the top of...; be at the forefront of...; leader

vi. Summary; transcend; tower; end

Third person singular: tops Plural: tops Present participle: topping Past tense: topped Past participle: topped

css border-top propertysyntax

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

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

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

css border-top propertyexample

<html>
<head>
<style type="text/css">
p 
{
border-style:solid;
border-top: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