This property lets you change the width of one or more of the outlines around an object.
If you specify only one value, all four outlines are set. Two values define the top and bottom with the first, and the second then applies to the left and right. If three values are specified, the first controls the top, the second controls both left and right, while the third controls the bottom edge. When all four values are specified, they are assumed to be in the order: top, right, bottom and left.
Width values can be specified using symbolic names or pixel values. The following symbolic names are available:
thin
medium
thick
See also: | style.borderWidth, style.outline |
Prev | Home | Next |
style.outlineStyle | Up | style.overflow |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |