<br><style><BR>.xxx{}<BR>.xxx a{color:#ff0000;}<BR></style> <script type="text/javascript"><BR> xx = function(){<BR> //$("#categories div").eq(6).css("color","#000000");<BR> $("#categories div").eq(6).addClass("xxx");<BR> }<BR></script>.xxx{}.xxx a{color:#ff0000;}