在网页设计中,有时候需要将table的标签的粗体字去掉,其实很简单,只需要重新给th设置字体属性,将默认的覆盖掉,就可以实现。
方法一:
可以在标签中设置
<th style="font-weight: normal">姓名</th>
方法二:
也可以在中设置
<style>
table tr th{
font-weight: normal;
}
</style>
在网页设计中,有时候需要将table的标签的粗体字去掉,其实很简单,只需要重新给th设置字体属性,将默认的覆盖掉,就可以实现。
方法一:
可以在标签中设置
<th style="font-weight: normal">姓名</th>
方法二:
也可以在中设置
<style>
table tr th{
font-weight: normal;
}
</style>