Note that there are some explanatory texts on larger screens.

plurals
  1. POIE uses img src as href
    primarykey
    data
    text
    <p>I have the following code in a textwidget</p> <pre><code>&lt;div class="social"&gt; &lt;a href="http://www.facebook.com/peakit.nl" target="_blank"&gt;&lt;img src="http://www.peaktest.nl/wp-content/uploads/facebook-icon.png" border="0" alt="facebook"&gt;&lt;/a&gt; &lt;a href="http://www.linkedin.com/company/peak-it" target="_blank"&gt;&lt;img src="http://www.peaktest.nl/wp-content/uploads/linkedin-icon.png" border="0" alt="linkedin"&gt;&lt;/a&gt; &lt;a href="https://twitter.com/PEAKIT" target="_blank"&gt;&lt;img src="http://www.peaktest.nl/wp-content/uploads/twitter-icon.png" border="0" alt="twitter"&gt;&lt;/a&gt; &lt;a href="http://www.youtube.com/user/peakit" target="_blank"&gt;&lt;img src="http://www.peak-it.nl/wp-content/uploads/youtube-icon.png" border="0" alt="youtube"&gt;&lt;/a&gt; &lt;/div&gt; </code></pre> <p>This works fine in all browsers except IE8 and IE9. If I click the image it will load a page with the image (img src url). When I right click the image and open in another tab it will shwo the correct page (href).</p> <p>What am I missing here?</p> <p>This is the IE output:</p> <pre><code>&lt;div class="social"&gt; &lt;a href="http://www.facebook.com/peakit.nl" target="_blank"&gt; &lt;img border="0" alt="facebook" src="http://www.peaktest.nl/wp-content/uploads/facebook-icon.png"&gt;&lt;/a&gt; &lt;a href="http://www.linkedin.com/company/peak-it" target="_blank"&gt; &lt;img border="0" alt="linkedin" src="http://www.peaktest.nl/wp-content/uploads/linkedin-icon.png"&gt;&lt;/a&gt; &lt;a href="https://twitter.com/PEAKIT" target="_blank"&gt; &lt;img border="0" alt="twitter" src="http://www.peaktest.nl/wp-content/uploads/twitter-icon.png"&gt;&lt;/a&gt; &lt;a href="http://www.youtube.com/user/peakit" target="_blank"&gt; &lt;img border="0" alt="youtube" src="http://www.peak-it.nl/wp-content/uploads/youtube-icon.png"&gt;&lt;/a&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload