我在文本小部件中有以下代码
<div class="social">
<a href="http://www.facebook.com/peakit.nl" target="_blank"><img src="http://www.peaktest.nl/wp-content/uploads/facebook-icon.png" border="0" alt="facebook"></a>
<a href="http://www.linkedin.com/company/peak-it" target="_blank"><img src="http://www.peaktest.nl/wp-content/uploads/linkedin-icon.png" border="0" alt="linkedin"></a>
<a href="https://twitter.com/PEAKIT" target="_blank"><img src="http://www.peaktest.nl/wp-content/uploads/twitter-icon.png" border="0" alt="twitter"></a>
<a href="http://www.youtube.com/user/peakit" target="_blank"><img src="http://www.peak-it.nl/wp-content/uploads/youtube-icon.png" border="0" alt="youtube"></a>
</div>
这适用于除 IE8 和 IE9 之外的所有浏览器。如果我单击图像,它将加载带有图像的页面(img src url)。当我右键单击图像并在另一个选项卡中打开时,它将显示正确的页面(href)。
我在这里想念什么?
这是 IE 输出:
<div class="social">
<a href="http://www.facebook.com/peakit.nl" target="_blank">
<img border="0" alt="facebook" src="http://www.peaktest.nl/wp-content/uploads/facebook-icon.png"></a>
<a href="http://www.linkedin.com/company/peak-it" target="_blank">
<img border="0" alt="linkedin" src="http://www.peaktest.nl/wp-content/uploads/linkedin-icon.png"></a>
<a href="https://twitter.com/PEAKIT" target="_blank">
<img border="0" alt="twitter" src="http://www.peaktest.nl/wp-content/uploads/twitter-icon.png"></a>
<a href="http://www.youtube.com/user/peakit" target="_blank">
<img border="0" alt="youtube" src="http://www.peak-it.nl/wp-content/uploads/youtube-icon.png"></a>
</div>