CSS: font-size and the height a font really spans [closed]
padding : 3px 3px;
height : 1em;
it seems actu开发者_C百科al padding-bottom is less than 3px
True.
When you set the height property, the padding-bottom gets lost.
Demo: http://jsfiddle.net/a99yV/
Also, this may help you to better understand this behavior http://jsfiddle.net/a99yV/1/
精彩评论