我在Dreamwear下写的css放到vss中整体样式能调用到,
但以.***的css样式调用不到是什么原因?例如:.font_heiti24_red {
font-family: "宋体";
font-size: 24px;
line-height: 40px;
font-weight: bolder;
color: #EE5A04;
} <div style="text-align:center;" class="font_heiti24_red">实用工具</div> 这样就调用不到,而这样能调用到:body,td,th {
font-family: 宋体;
font-size: 12px;
color: #013179;
text-align:left;
}
是什么原因呀,谢谢大家了
但以.***的css样式调用不到是什么原因?例如:.font_heiti24_red {
font-family: "宋体";
font-size: 24px;
line-height: 40px;
font-weight: bolder;
color: #EE5A04;
} <div style="text-align:center;" class="font_heiti24_red">实用工具</div> 这样就调用不到,而这样能调用到:body,td,th {
font-family: 宋体;
font-size: 12px;
color: #013179;
text-align:left;
}
是什么原因呀,谢谢大家了
改成font-family: 宋体;
看看
具体也说不清楚 应该是可以调用的啊.. 你也写在CSS文件内 还是写在页面内呢? 如果写在CSS文件内 页面要加引用的!
<style type="text/css">
.font_heiti24_red {
font-family: "宋体";
font-size: 24px;
line-height: 40px;
font-weight: bolder;
color: #EE5A04;
}
</style>
font-family: "宋体";
font-size: 24px;
line-height: 40px;
font-weight: bolder;
color: #EE5A04;
有作用吗?我你太懂。。愚昧的问一句。