ZVON > References > DOM2 Reference

removeProperty (method )

Owning interface and usage:  
CSSStyleDeclaration.removeProperty(propertyName)

Member of these other interfaces:  
none

Description:  
Used to remove a CSS property if it has been explicitly set within this declaration block.

Parameters:  
DOMString propertyName  -  The name of the CSS property. See the CSS property index.

Returns:  
DOMString -  Returns the value of the property if it has been explicitly set for this declaration block. Returns the empty string if the property has not been set or the property name does not correspond to a known CSS property.

Exceptions:  
DOMException NO_MODIFICATION_ALLOWED_ERR
Raised if this declaration is readonly or the property is readonly.