Forum Moderators: not2easy
<head>
<style type="text/css">
a:link, a:visited { text-decoration : none; }
a:hover { text-decoration : underline; }
</style>
</head>
however what happens if i don't want to define them like that? I want to call them inside the <a href> instead:
<a STYLE="" href="">link</a>
I try this but didn't work:
<a style="a:link, a:visited { text-decoration : none; } a:hover { text-decoration : underline; } href="">link</a>
I agree totally! Why would you even want to do this? (even considering the above possible explanation!)
onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';"
By no means ideal, and I havn't tested it at all....