There are three payment system icons on the web page:
with this code:
html:
<div class="paicons"> <a href="#" title="mastercard"><img src="master.png"></a> <a href="#" title="Visa"><img src="visa.png"></a> <a href="#" title="PayPal"><img src="pal.jpg"></a> </div> css:
.paicons { padding: 1em; float: right; margin-top: -10em; margin-right: 28em; } At the same time, when you hover over images, not the whole area is a link, but only about half, this is what the browser shows:
I tried to set the width and height of the element "a" in the css inside the "div" but it did not work. How to make each link exactly fit the image? Thank!

