It is possible I used this: $('style').text('label.error{left:' + leftOffset +'px;}'); On 11/19/09 1:33 PM, "discern" <cap...@gmail.com> 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('secondary') to the element. It would inherit styles from the original and apply the secondary styles.