开发者

2nd inline element is pushed down a few px?

开发者 https://www.devze.com 2023-02-05 07:22 出处:网络
http://jsfiddle.net/HEQbt/1/ I have two inline elements that both have line-height set.The 2nd element, for some reason, is getting pu开发者_StackOverflowshed down a few px.Wondering if anyone knows

http://jsfiddle.net/HEQbt/1/

I have two inline elements that both have line-height set. The 2nd element, for some reason, is getting pu开发者_StackOverflowshed down a few px. Wondering if anyone knows why?

FF/Chrome tested


Try adding vertical-align: top; to your anchor.

0

精彩评论

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