[jQuery] .css, jQuery1.1

[jQuery] .css, jQuery1.1

<html>
<body>
Hello folks,
I'm having difficulty understanding how .css is supposed to
work.
The following line of code correctly styles the font color of the json
data within #tree as blue:
<tt>
$("#tree").highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color:
"blue"});
</tt>However, attempting to also style the font size or text alignment
throws an error.<tt> 
$("#tree").highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color:
"blue", font-size: "1.2em", text-align:
"left"});
</tt>Yet, the structure I'm using is as per the 1.1 API (as far as I can
see), so obviously there is something else I'm missing here.  Can
anyone help please?
Thanks,
Bruce</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/