Page 1 of 1

Chaning HREF color on TD mouseover

Posted: Tue Oct 13, 2009 9:24 am
by niubbetto
Hi,

how do i manage to get the href color change when the mouseover is on its parent td?

thanks a lot!

Re: Chaning HREF color on TD mouseover

Posted: Tue Oct 13, 2009 10:12 am
by niubbetto
ok, done by myself with jquery, hope it helps someone!

$("#menu td#id1 a").css("color","red");

Re: Chaning HREF color on TD mouseover

Posted: Tue Oct 13, 2009 2:28 pm
by pickle
Unless you're coding for IE6 & lower, you can do this in CSS:

Code: Select all

#menu td:hover a{ color:red; }