Say my div class is called fred. Can I :
.fred:hover
{
text-decoration:underline;
}
(I don’t want to use an a tag)
(I know it works in some browsers but the question is really is it legit code ?)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can, but it won’t work in some (older-) browsers.
Javascript can do the job in a more multi-browser way 😉
So your wishes do not meet global technology…..yet :O