Why am I getting this strange padding, and how can I remove it?
<div style="border: 1px solid black;">
<a href="?lang=ru" ><img src="http://top-5ive.net/images/flags/ru.png" alt=""></a>
</div>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s because the
line-heightis bigger than the image of the flag. Specifyline-height:11px;. See this jsFiddle for more help.For more information on this, see the W3C’s information on the height of a line.