Skip to content Skip to sidebar Skip to footer

Html/ Css: A Href Exceeds Linking Image - How To Avoid?

I put three HTML-elements in a row using inline-block: 2 images linking to external websites (green boxes in the image below) and one div-tag with a search-form an a language selec

Solution 1:

You should have the a elements styled to inline-block and not the img. The img should be display: block. I think that should do it.

#logo a { display: inline-block; }
#logo img { display: block; }

Post a Comment for "Html/ Css: A Href Exceeds Linking Image - How To Avoid?"