-3

I am trying to link an image in my footer but whenever I link the one image, the link spreads to the rest of the widgets in the footer.

How do I stop this?

My site

Here is the code I used to make the image linkable...

<a href="http://www.pastorsdigitalbooks.com"
target="_blank"><img src="http://nzbound.kiwi.nz/website/wp-content/uploads/2013/05/logo-500x500.png";width="165"; height="165";</a>
4

1 回答 1

2

你把它link放在整个页脚 div上,所以很明显它会显示在页脚的整个区域。
您的代码:

<a target="_blank" href="http://www.pastorsdigitalbooks.com">
<div id="footer-widget2"> //..... and so on

您的代码应该是:

<div id="footer-widget2">
<div class="textwidget">
<p align="center">
<a href="">Sent from: Bible Baptist Church</a> // ... adn so on

注意:您正在整个页脚小部件上应用链接,这就是它在整个 div 上重叠的原因。尝试格式化您的代码。

于 2013-06-24T19:54:03.147 回答