I have following code to place an image as an anchor, this is the skeleton code:
<html>
<div id="outer">
<div id="facebookButton">
<a href="url"></a>
</div>
</div>
</html>
in the CSS:
#facebookButton a{
width:20px;
height:20px;
display:block;
/*place code to load image*/
}
what is purpose of the display
property setting to block here? what are the benefits?