font-weight不能正常工作? [英] font-weight is not working properly?

查看:129
本文介绍了font-weight不能正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://www.i3physics.com/blog/2010/07/ dsfsdf /

这是一个示例。

其中PHP(右上角)的部分保持原样。
这里是css代码的一部分

The part where it said "PHP" (the right top corner) remained as slim as it was. here is part of the css code

.wp_syntax_lang {
  background-color:#3c3c3c;
  position:absolute;
  right:0;
  padding:1px 10px 3px;
  color:#ddd; font-size:9px; font-weight:800;
  text-transform:uppercase;
  -moz-border-radius-bottomleft:5px;
  -webkit-border-bottom-left-radius:5px;
  border-radius-bottomleft:5px;
}

我试着大胆,大胆,700,800,900, FF。

I tried bold, bolder, 700, 800, 900 and is not working under FF.

推荐答案

因为字体大小(9px)太小,无法显示粗体。尝试11px或更多,它工作正常。

Its because the font size (9px) is too small to display bold. Try 11px or more and it works fine.

这篇关于font-weight不能正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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