Is it possible to specify a class in a span (or div, or table, etc) that will allow hyperlinks to pick up the class behaviour without specifiying it in the <a> </a> tags?
I have this external CSS
.textmenu {font-size: 10pt; font-family: Arial; }
a:link.textmenu {color:blue; text-decoration:underline;}
a:visited.textmenu {color:blue; text-decoration:underline;}
a:hover.textmenu {color:red;text-decoration:none;}
What I want to do is this:
<span class = "textmenu">
<a href="pdf/newsletter.pdf">Current issue</a>
</span>
and have the <a href= .... act as though I had done this:
<span>
<a class = "textmenu" href="pdf/newsletter.pdf">Current issue</a>
</span>
Thanx for any info.
I have this external CSS
.textmenu {font-size: 10pt; font-family: Arial; }
a:link.textmenu {color:blue; text-decoration:underline;}
a:visited.textmenu {color:blue; text-decoration:underline;}
a:hover.textmenu {color:red;text-decoration:none;}
What I want to do is this:
<span class = "textmenu">
<a href="pdf/newsletter.pdf">Current issue</a>
</span>
and have the <a href= .... act as though I had done this:
<span>
<a class = "textmenu" href="pdf/newsletter.pdf">Current issue</a>
</span>
Thanx for any info.