开发者

CSS: font-size and the height a font really spans [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.
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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜