Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project










PROPERTY: border-top-width

border-top-width : thin | medium | thick | length
 
Compatibility:  IE4+  N4+
Version: Level 1
Inherited: No
 
The border-top-width property sets the width of the top border.
 
thin | medium | thick
 
The keyword values of thin, medium, or thick can be used to set the width of the border line. The exact thickness of the border created by using these keyword values will be determined by your computer/browser combination.
 
length
 
The length value can be in any of the following seven units. Use the abbreviation.
 
Length Abbrev.
centimeters cm
ems em
inches in
millimeters mm
picas pc
pixels px
points pt

 
Code:
body { border-top-width: thick; }
body { border-top-width: 0.25in; }
body { border-top-width: 5mm; }

 
or
 
p.bordr
{
border-bottom-color: red; border-bottom-style: double; border-bottom-width: 15px;
border-left-color: yellow; border-left-style: double; border-left-width: 15px;
border-right-color: blue; border-right-style: double; border-right-width: 15px;
border-top-color: green; border-top-style: double; border-top-width: 15px;
}
...
<p class="bordr">
<b>DevGuru is great!</b>
</p>

 
Output:

DevGuru is great!



 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information