I am currently facing two issues. Firstly, in Chrome and Safari, there is a gray border around an image link that does not appear in Firefox. Here is the code snippet:
<a href="link.html" target="_blank">Link title <img class="leaving" /></a>
Here is the CSS used:
.leaving {
background-image: url("images/leaving.png");
height:10px; width:10px;
display:inline-block;
background-repeat:no-repeat;
border:none;
}
How can I remove this border?
Secondly, certain heading links are being underlined in Chrome and Safari despite setting text-decoration to none. I would like to know how to remove the underline and change its color.
<a href="link">
<h3>Title</h3>
</a>
a h2,h3{
color:#00264B;
text-decoration:none;
}
Even though "a" is set to underline in other places, shouldn't "a h3" override anything else? Can you explain what may be causing this behavior?
Thank you.