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
border
border-bottom
border-bottom-width
border-color
border-left
border-left-width
border-right
border-style
border-top
border-top-width
border-width
PROPERTY: border-right-width
border-right-width
:
thin
|
medium
|
thick
|
length
Compatibility:
IE4+ N4+
Version:
Level 1
Inherited:
No
The
border-right-width
property sets the width of the right 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-right-width: thick; }
body { border-right-width: 0.25in; }
body { border-right-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