November 2001
Intermediate to advanced
936 pages
68h 43m
English
CSSStyleDeclaration.removeProperty( ) — delete a CSS attribute specification
DOM Level 2 CSS
String removeProperty(String propertyName)
throws DOMException;propertyName
The name of the CSS attribute to be deleted.
The value of the named CSS attribute as a string, or the empty string if the named attribute is not explicitly specified in this style declaration.
If this style declaration is read-only, this method throws a
DOMException with a code of
NO_MODIFICATION_ALLOWED_ERR.
This method deletes a named attribute from this style declaration block and returns the value of the attribute.