Generally through JS, you've got two ways:

a) generate the css string with the properties and inject it between <style>
b) use stylesheet.insertRule 
(https://developer.mozilla.org/en/DOM/stylesheet.insertRule)

O.

On 14 Dec 2009, at 19:00, Gafa wrote:

> Can "a.active" be set through code, like setStyle or setProperty,
> without including it in a CSS?
> 
> thanks

Reply via email to