This topic has not yet been rated - Rate this topic

removeProperty method

Removes a Cascading Style Sheets (CSS) property if it is explicitly set within the current declaration block.

Document Object Model (DOM) Level 2 Style Specification, Section 1.2Internet Explorer 9

Syntax

object.removeProperty(bstrPropertyName)

Parameters

bstrPropertyName [in]

Type: String

The name of the CSS property.

Return value

Type: String

The value of the property if it is explicitly set for this declaration block, or null if the property is not explicitly set for this declaration block or if the property name does not correspond to a known CSS property.

Standards information

See also

CSSStyleDeclaration
currentStyle
style
Reference
getPropertyPriority
getPropertyValue
item
length
setProperty

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.