2.3.1.3 allowTransparency

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

allowTransparency of type boolean

Sets or retrieves whether the object can be transparent.

Returns true if the object can be transparent. If false, the object is opaque. The default value is false.

When the property is set to:

  • false, the backgroundColor property of the object can only be that of the window.

  • true, the backgroundColor property of the object can be set to any value, including the default value of transparent.

The allowTransparency attribute extends the following interfaces: