Forum Moderators: not2easy
What I’d like to be able to do is hyperlink any piece of text in the paragraph and choose which version of hyperlink I want – with or without decoration.
I'd like the font family/colour/size to stay the same regardless of the type of Hyperlink...
Please help if you can.
<html>
<head>
<style type="text/css">
a { text-decoration:none; }
a.hoverDec:hover { text-decoration:underline; }
a.noHoverDec:hover { text-decoration:none; }
</style>
<body>
<p>This is some text in a paragraph. <a href="" class="hoverDec">I'm and undelined link</a> and <a href="" class="noHoverDec">I'm not</a>.</p>
</body>
</html>
I had figured it out, but your version is a LOT cleaner than mine:
.declink a:link, a:visited, a:active {
color: #DAEAF2;
font-size: 11px;
font-weight: bold;
text-decoration: none;}.declink a:hover {
color: #DAEAF2;
font-size: 11px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #FF0000;}.nodeclink a:link, a:visited, a:active {
color: #DAEAF2;
font-size: 11px;
font-weight: normal;
text-decoration: none;}.nodeclink a:hover {
color: ##DAEAF2;
font-size: 11px;
font-weight: normal;
text-decoration: none;}