1
edit
Changes
no edit summary
== Summary ==
This property is used to set the width of an element's top border.
*Initial: medium
*Applies to: all elements
*Inherited: no
*Percentages: N/A
*Media: visual
== Syntax ==
<pre>TARGET_ELEMENT{border-top-width: value;}</pre>
== Legal Values ==
*thin - thin top border
*medium - medium top border
*thick - thick top border
*length - define the thickness of the top border
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>table{border-top-width: medium;}</pre>
<pre>table{border-top-width: 0.5px;}</pre>
<pre>table{border-top-width: thin;}</pre>
== Notes ==
== Specification Conformance ==
[http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width CSS 2.1]
== Browser Compatibility ==
== See Also ==
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-STYLE border-top-style]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-COLOR border-top-color]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-WIDTH border-top-width]
This property is used to set the width of an element's top border.
*Initial: medium
*Applies to: all elements
*Inherited: no
*Percentages: N/A
*Media: visual
== Syntax ==
<pre>TARGET_ELEMENT{border-top-width: value;}</pre>
== Legal Values ==
*thin - thin top border
*medium - medium top border
*thick - thick top border
*length - define the thickness of the top border
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>table{border-top-width: medium;}</pre>
<pre>table{border-top-width: 0.5px;}</pre>
<pre>table{border-top-width: thin;}</pre>
== Notes ==
== Specification Conformance ==
[http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width CSS 2.1]
== Browser Compatibility ==
== See Also ==
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-STYLE border-top-style]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-COLOR border-top-color]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-WIDTH border-top-width]