css怎么加粗

代码如下,怎么让字体加粗?
#menumain{
margin:0;
white-space:nowrap;
overflow:hidden;
height:34px;
}

#menumain .mainmenuiner {
height:34px;
padding:0;
line-height:34px;
overflow: hidden;
margin: 0px;
}

#menumain a.menumain:link,#menumain a.menumain:active,#menumain a.menumain:visited{
display:block;
float:left;
height:34px;
text-decoration: none;
text-align:center;
width:100px;
color:#fff;
font:18px/30px 'SimSun',Arial,Sans-Serif;
background:url(menu.jpg) 0px 0px no-repeat;
margin:0px;
}

#menumain a.menumain:hover{
display:block;
float:left;
height:34px;
color:#eee;
text-decoration: none;
text-align:center;
width:100px;
font:18px/30px 'SimSun',Arial,Sans-Serif;
background:url(menu.jpg) 0px 0px no-repeat;
margin:0px;
}

#menumain a.menumain_current{
display:block;
float:left;
height:34px;
color:#000;
text-decoration: none;
text-align:center;
width:100px;
font:18px/39px 'SimSun',Arial,Sans-Serif;
background:url(menu.jpg) 0px 0px no-repeat;
margin:0px;
}

CSS 加粗使用CSS属性单词font-weight:
例子:
.yangshi1{ font-weight:bold}
.yangshi2{ font-weight:600}
font-weight对象值:从100到900,最常用font-weight的值为bold
font-weight参数:
normal : 正常的字体。相当于number为400。声明此值将取消之前任何设置
bold : 粗体。相当于number为700。也相当于b对象的作用
bolder : IE5+ 特粗体
lighter : IE5+ 细体
number : IE5+ 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-07-27
在你想将内容加粗的容器的css里写上 font-weight:bold;就行了~
第2个回答  2015-09-14
/*bold也可以改为数值*/
*{ font-weight: bold }

第3个回答  2014-07-27
直接定义一个选择器不就好了,需要的时候调用
第4个回答  2015-09-25
是css加粗字体么
font-weight:700
相似回答