民警下班穿睡衣接老婆:CSS对输出的内容没有作用?

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/04 07:34:41
<%
sql="select * from cpmulu where cpsy= " & rs("cpsy")
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn,1,1
%>
<table width="65%" border="0" cellspacing="0" cellpadding="0">
<tr>
<% for i=1 to rs1.recordcount %>
<td><a href="showproduct.asp?cpid=<%=rs1("cpid")%>"><%=rs1("cpmuluming")%></a></td>
<% rs1.movenext
next %>
</tr>
</table>

我数据库内容输出是有几行的目录(第一行都有几个分目录).但是我的用CSS后.有一些有反应一些没有.请问怎么回事?我是用include文件webcss.css的.文件内容是:
<style type="text/css">
<!--
A:link {
FONT-SIZE: 9pt;
COLOR: #000000;
TEXT-DECORATION: none;
}
A:visited {FONT-SIZE: 9pt; COLOR: #000000; TEXT-DECORATION: none}
A:active {FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:hover {
FONT-SIZE: 9pt;
COLOR: #FF0000;
TEXT-DECORATION: none
cursor: hand;
}

table{
font-size: 12px;
}
body{
font-size: 12px;
}
td{
font-size: 12px;
}
td.vipjia{
font-size: 12px;
text-decoration: line-through;
}
-->
</style>
我想鼠标经过时变成红色.可是有作用一些没有.请指教

你的css没有问题,可能是你程序的问题