PROPERTY: border

border : border-width &| border-style &| border-color
 
Compatibility:  IE4+  N4+
Version: Level 1
Inherited: No
 
The border property allows you to combine into one declaration the border-width, and/or the border-style, and/or the border-color properties.
 
Each of these three individual properties are discussed on their own page.
 
Code:
body { border: thick dashed yellow; }
p { border: thick double yellow; }
blockquote { border: dotted gray; }

 
or
 
p.bordr { border: 25px solid red; }
...
<p class="bordr">
DevGuru is great!
</p>

 
Output:

DevGuru is great!



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