Try

DOM.setStyleAttribute(Element, "backgroundColor", "#ffffff")

(you also need to use camelCase for the style you are changing).

//Adam

On 3 Juni, 18:15, Ganaga <[email protected]> wrote:
> Hi,
>
> Doing a Element.setAttribute("style", "background-color: #ffffff")
> works fine in Firefox but has no effect in IE.
>
> Is there any work around for changing dynamically a style in IE ?
>
> The 
> post:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
> provides a way to load a css file dynamically for IE, but how to
> change just an attribute ?
>
> Thanks !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to