The code on that page doesn't match the code in your file. Yours is missing the curly brackets:
$("p.blue").css("color" : "red"); should be $("p.blue").css({"color" : "red"}); Any syntax error like that will stop the script dead. On Sep 12, 9:58 am, Matthew Rolph <marine.ro...@gmail.com> wrote: > http://testingspot.hostcell.net/sandbox/tests/css.jquery.test.html > it somehow doesn't work at all not even the css > does it matter where the style and scripts are in the of the document > > On 9/12/09, Mike Alsup <mal...@gmail.com> wrote: > > > > >> see that code in the subj.? i'm using FF 3.5, and no matter what i > >> do, .css won't work!! any help? > > > Maybe "this" isn't what you think it is. Can you post some code or a > > link?