Re: properties' priority

> i'm askin what could it mean the third parameter of setProperty
> (CSSStyleDeclaration), the property's priority, i'm not been able to
> find it neither on CSS manual nor on DOM 2 manual...  tnx bye

http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleDeclaration-setProperty
actually lists the only current useful value of the priority:
"important".  Using setProperty("foo", "bar", "important") is equivalent
to having the declaration:

foo: bar !important;

in your declaration block in CSS.

Boris
-----------------
The typewriting machine, when played with expression, 
is no more annoying than the piano when played by a 
sister or near relation.
                             -- Oscar Wilde

Received on Sunday, 30 June 2002 01:30:46 UTC