Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
This topic has not yet been rated - Rate this topic

border attribute | border property

Sets or retrieves the width of the border to draw around the object.

Syntax

HTML<element border="p" ... >
JavaScript

p = object.border

Property values

Type: Variant

the number of pixels in the object border.

Standards information

Remarks

Setting a border to 0 or omitting the attribute causes no border to be displayed. Supplying the BORDER attribute without a value defaults to a single border.

In Microsoft Internet Explorer 6, This property now applies to the object object.

See also

LayoutRect
table
Reference
borderColor
borderColorDark
borderColorLight
hspace
vspace

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.