Re: [jQuery] Re: Modifying a CSS class's properties SOLVED

2009-11-19 Thread Atkinson, Sarah
It is possible I used this: $('style').text('label.error{left:' + leftOffset +'px;}'); On 11/19/09 1:33 PM, "discern" wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if you had a secondary class in your CSS and used addClass

Re: [jQuery] Re: Modifying a CSS class's properties

2009-11-19 Thread Atkinson, Sarah
The problem is is that I need to calculate the styles when the page loads. And the calculation results in a couple of hundred different numbers. On 11/19/09 1:33 PM, "discern" wrote: I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if yo

[jQuery] Re: Modifying a CSS class's properties

2009-11-19 Thread discern
I don't know if that is possible (although almost anything, it seems, is possible with jQuery), but what if you had a secondary class in your CSS and used addClass('secondary') to the element. It would inherit styles from the original and apply the secondary styles.