All Tech Tips

BORDER Attribute | border Property

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.

Syntax

HTML<ELEMENT BORDER = iBorder... >
Scriptingobject.border [ = iBorder ]

Possible Values

iBorderVariant 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. .

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.

Standards Information

This property is deprecated in HTML  and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

OBJECT, IMG, TABLE

See Also

borderColor, borderColorDark, borderColorLight, hspace, vspace


Copyright © 2006 alltechtips.com. All rights reserved.

This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.