Table of Contents

Property CssText

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

CssText

The parsable textual representation of the declaration block (excluding the surrounding curly braces). Setting this attribute will result in the parsing of the new value and resetting of all the properties in the declaration block including the removal or addition of properties.

public virtual string CssText { get; set; }

Property Value

string

Exceptions

DomException

SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly or a property is readonly.