RE: Html code help :S
You should not use classes if that's not needed. Use a paragraph instead, like this
<p id="localhost">Hi i'm <a href="localhost">localhost</a></p>
Now your css would be like
p#localhost a:link, p#localhost a:visited
{
text-decoration: none;
color: #000;
}
p#localhost a:hover
{
text-decoration: underline;
}
|