Forum : IS THIS CORRECT???
Brief description  about Online courses   join in Online courses
View Anonymous  Anonymouse 's Profile

IS THIS CORRECT???

i can't do pseudo classes using inline style sheet..

<html>
<head>

</head>
<body>

<a style="a:hover{color:#333333;}" href=#qwer> 1 </a>
</body>
</html>
Asked by Anonymous Anonymouse | Jul 1, 2010 |  Reply now
Replies (4)
View teacher siliconindia 's Profile
For that you need to put one cover div give id, like ex: Test the same id you need to put back side of a


Test a:link {

text-decoration:none;
}
Test a:visited {

text-decoration: none;
}
Test a:hover {

text-decoration: none;
}
Test a:active {
text-decoration: none;
}


Hop this will help you
Regards
Jul 6, 2010
View gopinath raghurama damale 's Profile
Even I have that doubt...
How to give a unique style to a link which is different from the link styles applied to the other links in a page?
Jul 2, 2010
View anonymous anonymouse 's Profile
AS per the theory .... it must work in-line style sheet...too ...right...
if i have 4 links...in that 1 must act different from others....a unique type.... how to do that...if not in-line style sheet......pls reply!
Jul 2, 2010
View teacher siliconindia 's Profile
Don't write inline, use this code

write this code in style sheet

a:link {

text-decoration:none;
}
a:visited {

text-decoration: none;
}
a:hover {

text-decoration: none;
}
a:active {
text-decoration: none;
}


Hop this will help you
Regards
Jul 2, 2010