I have a <div>
inside a <a>
, that I don't want to be underlined.
HTML :
<a href="/joomla17/contact">
<div class="button">nous contacter</div>
</a>
A generic a
rule is defined elsewhere.
I tried this with css :
.button {
text-decoration: none;
}
but it is still underlined. Checked with Firebug that the text-decoration: none
isn't overridden.
I feel that I have to specify a:link
, but I don't know how to make it match my class