世界华人心理学家协会:网格表格中的class是什么意思

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 23:00:08
如以下一段代码:
<table class=top_Path style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<tr>
<td align=middle width="5%"><IMG src="{$InstallDir}Images/arrow3.gif"></td>
<td width="45%">{$ShowPath}</td>
<td align=right width="50%">
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=4 width=400 align="left">{$ShowAnnounce(2,5)}</MARQUEE></td>
</tr>
</table>

引用样式表css里的样式
例子:
<STYLE>
.top_Path {color:FF0000}
</STYLE>
然后用top_Path引用它
如果是id=top_Path,样式表css就应该这样
<STYLE>
#top_Path {color:FF0000}
</STYLE>
然后用top_Path引用它

引用样式表css里的样式
例子:
<STYLE>
.top_Path {bodercolor:FF0000}
</STYLE>
然后用top_Path引用它