maybe change your code from setStyle to addClassName and then add the
!important rule in your CSS?
just a thought...
On Nov 9, 2007 10:59 AM, ghosty
<timlo604-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Does anyone know a way to set the !important modifier when using
> setStyle to change the css of an element?
>
> It throws errors in IE but works fine in FF. Any insight is
> appreciated.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---