Hi i am creating a website while placing brand logo inside link tag at top right of web page i encountered this problem
<a href="#" >
<img src='img.png'>
</a>
img {
height: 50px;
width: 50px;
}
The result is a tag the wrapping image height is actually more than 50px even though there is no text in a tag . But when i give font-size:0 it Works .
So I need the reason what causes the link tag to take more height.
Please help me understand this concepts rather than just with some css codes
I have sample its . please help me with this .
http://jsfiddle.net/amerrnath/TLBEx/
Ok Sorry i got the answer from the link .
White space at bottom of anchor tag
Thank you