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
style
英[staɪl] 美[staɪl]
n. Way; style; fashion; instrument, taste
vt. Design; title; shape for...
vi. To make it conform to the popular style; to use a carving knife to make decorative paintings
Third person singular: styles Plural: styles Present participle: styling Past tense: styled Past participle: styled
css border-top-style property syntax
Function: Set the style of the upper border of the element.
Note: The border may appear only when this value is not none. In CSS1, HTML user agents only need to support solid and none.
Note: Any version of Internet Explorer (including IE8) does not support the attribute value "inherit" or "hidden".
css border-top-style property example
<html> <head> <style type="text/css"> p { border-style:solid; } p.none {border-top-style:none} p.dotted {border-top-style:dotted} p.dashed {border-top-style:dashed} p.solid {border-top-style:solid} p.double {border-top-style:double} p.groove {border-top-style:groove} p.ridge {border-top-style:ridge} p.inset {border-top-style:inset} p.outset {border-top-style:outset} </style> </head> <body> <p class="none">No top border.</p> <p class="dotted">A dotted top border.</p> <p class="dashed">A dashed top border.</p> <p class="solid">A solid top border.</p> <p class="double">A double top border.</p> <p class="groove">A groove top border.</p> <p class="ridge">A ridge top border.</p> <p class="inset">An inset top border.</p> <p class="outset">An outset top border.</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance