oliviacis, Please make sure to wrap your code.
John, it doesn't have too be that complicated.
Use a separate stylesheet aside from your html page and use
Code:
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
This will take the underline away from every single link on your page. Doing it the way oliviacsis said would only take the underline away from the individual link.
Of course you can have multiple link styles by assigning a link state to a div, and all of the links in that div will refelct that link style.
Code:
#wrap a {
text-decoration: none;
}