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 <[EMAIL PROTECTED]> 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to