$(".normalFont").css('font-size','32px');
But im not sure if theres a way to change the size of the actual class, i would suggest just making another class, say, 'enlargedFont' with the style you need, and just applying it to objects something like this:
$(".normalFont").removeClass('normalFont').applyClass('enlargedFont');
On 9/29/06, Geoff Knutzen <
[EMAIL PROTECTED]> wrote:
Is there a jquery way to change a rule in a css class?
For example, say I have a class like this
.normalFont {
font-size: 14px;
}
Is there someway to change the font-size of this class using jquery (or some other _javascript_ way)?
Thanks
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
