ZVON > References > CSS1 Reference

Property: border-top
Values: <border-top-width>, <border-style>, <color>
Initial: not defined for shorthand properties
Inherited: no

This is a shorthand property for setting the width, style and color of an element's top border.

      H1 { border-bottom: thick solid red }
      

The above rule will set the width, style and color of the border below the H1 element. Omitted values will be set to their initial values:

      H1 { border-bottom: thick solid }
      

Since the color value is omitted in the example above, the border color will be the same as the 'color' value of the element itself.

Note that while the 'border-style' property accepts up to four values, this property only accepts one style value.


Examples: 9:6 25:19



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
Domain Names VoIP Internettelefonie DSL, SDSL, ADSL UNLIMITED Web Hosting by HostDepartment conference call service
answering service