Try jQuery("a").mouseover( function() { $(this).css("fontSize", "20px"); } );
howard chen wrote: > hody > > 1. How to set the css in each() iteration? > > e.g. > > jQuery("a").each(function() { > // change css > > // do the rest > ) > > I don't want to use jQuery("a").css as it as imply two dom querying > doing the same thing > > 2. How to set the following CSS? > > a:hover { > font-size:20px; > } > > > Thanks.