Re: Create CSSStyleDeclaration object
Mike5 <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <e95eddd9-edc4-426d-b3c5-dbc827d4f301@n35g2000yqm.googlegroups.com> |
On Nov 30, 5:09 pm, Boris Zbarsky <[email protected]> wrote: > On 11/30/09 2:55 AM, Mike5 wrote: > Great, thank you. And since we're talking about style, once the > > > correct style is applied to that box, can I change it from Javascript? > > It which? You can't (safely, at least) edit the user/ua sheet from JS. > You can remove it and apply a different sheet if you want.... > > Not sure I'm answering the question you're asking. > > -Boris I was hoping to somehow get access to object.style attributes... But in the mean-time I've started working on adding a stylesheet to the document, and adding style rules for all the objects I'm interested in. Which also works for me... Thanks and br, Miha