Help!
I'm trying to define textual hyperlinks for a footer. I also have images in my footer that are also hyperlinked.
The CSS I'm using is:
The problem is that in my HTML, within my footer, I also have images that are hyperlinked. For example,
Now, because my image above has a top & bottom margin of 20px, my hyperlinked image shows an unsightly blue background when I hover my mouse over it. How can I stop this from happening? I don't want any linking effect on my images - just only my textual content. Help!
Thanks in advance,
JD.
I'm trying to define textual hyperlinks for a footer. I also have images in my footer that are also hyperlinked.
The CSS I'm using is:
Code:
#footer a:link { text-decoration: underline; color: #F8F8F7; font-weight: 600; padding: 2px; }
#footer a:visited { text-decoration: underline; color: #F8F8F7; font-weight: 600; padding: 2px; }
#footer a:hover { text-decoration: none; color: #fff; font-weight: 600; padding: 2px; [COLOR=#CC0000]background-color: #blue;[/color] }
#footer a:active { text-decoration: underline; color: #F8F8F7; font-weight: 600; padding: 2px; }
The problem is that in my HTML, within my footer, I also have images that are hyperlinked. For example,
Code:
<a href="[URL unfurl="true"]http://mywebsite.com"><img[/URL] src="[URL unfurl="true"]http://mywebsite.com/image/picture.png"[/URL] [COLOR=#CC0000]style="margin: 20px 0;"[/color]></a>
Now, because my image above has a top & bottom margin of 20px, my hyperlinked image shows an unsightly blue background when I hover my mouse over it. How can I stop this from happening? I don't want any linking effect on my images - just only my textual content. Help!
Thanks in advance,
JD.