如何为< strong>设置边框底部样式文本 [英] How to set border-bottom style for <strong> text

查看:187
本文介绍了如何为< strong>设置边框底部样式文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这个页面上( http://nate.fm/articles )我列出了两篇不同的文章。一个是大胆的,一个是规则的。它们都是3px边框的链接。但是,粗体字体的border-bottom会比普通字体稍微低一些。



任何人都可以告诉我在CSS中定义多余空间的位置吗?

解决方案


然而,粗体字体的border-bottom会比普通字体略低。

没有。在链接 Like 之下,边界距第一个字符 L 小于7px,链接 Pro-Life vs Pro-Birth 边界在字符 P 下面再7px。也许你会被 Light 中的 g 迷惑。



< PS:我通过打印屏幕和粘贴到photoshop来检查距离。

On this page (http://nate.fm/articles) I have two different articles listed. One is bold and one is regular. They are both links with a 3px border-bottom. However, the bold font's border-bottom is pushed down slightly lower than the regular font.

Can anyone tell me where that extra space is being defined in the CSS?

解决方案

However, the bold font's border-bottom is pushed down slightly lower than the regular font.

No. Under the link Like the border is 7px below the character the first character L and under the link Pro-Life vs Pro-Birth the border is again 7px below the character P. Perhaps you are getting deluded by the g in Light.

P.S: I checked the distances by printing screen and pasting to photoshop.

这篇关于如何为&lt; strong&gt;设置边框底部样式文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆