Forum Moderators: not2easy
<a href="test.htm"><div class="foo">link text</div></a>
It works, but it would add a linebreak after. Is there a way around this?
Thanks in advance!
If you've put your menu in a table, just do the same thing - give your table an id.
I hope this helps.
Cheers
BonRouge has this one right. I just wanted to add that this...
<a href="test.htm"><div class="foo">link text</div></a>
However, using the same technique I run into a problem:
<div class="featuredred"><a href="monkey.htm">Eighteen Disciples Battle the Monkey King</a></div><p class="featured">After the Monkey King...</p>
What ended up happening is that the "Eighteen Disciples Battle the Monkey King" took on the style <a>, but when I mouse over the title, it jumps back to the style of featuredred's a:hover style... following is the actual CSS:
.featuredred {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #800716;
text-decoration: none;
}
.featuredred a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #800716;
text-decoration: underline;
}
Did I do something wrong when applying the style?