Sets or retrieves the width of the border to draw around the object.
What's New for Microsoft® Internet Explorer 6
This property now applies to the
object object.
dhtml语法
HTML | <ELEMENT BORDER
= iBorder... >
|
---|
Scripting | object.border [ = iBorder ] |
---|
DHTML可能的值
iBorder | Variant that
specifies or receives the number of pixels in the object border. |
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.
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.
是否符合公共标准
This property is deprecated in
HTML and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
更多语法参考
bordercolor, bordercolordark, bordercolorlight, hspace, vspace