<font id="validName" class="validFont" style="color: red">请输入用户名</font>我这么写颜色显示是红的 dreamweaver和eclipse里都没错<style type="text/css">
<!--
.validFont{color:red;}
--></style>在dreamweaver里这么写没错 为什么在eclipse里颜色就没设置过去呢?。。 郁闷啊
<!--
.validFont{color:red;}
--></style>在dreamweaver里这么写没错 为什么在eclipse里颜色就没设置过去呢?。。 郁闷啊
<style type="text/css">.validFont{color:red;}
</style>试试