日期:2014-05-17  浏览次数:21224 次

我想把从数据库中提取的数据在表格中居中显示,并且在页面的中间位置,鼠标放到一行上时,背景色变化,但是下面的没变化怎么解决啊
<%
sub   looktopics()
const   adOpenKeyset=1
const   adOpenDynamic=1
const   adLockPessimistic=1
const   adLockReadOnly=1
const   adCmdText=&H0001
                                  fhsql= "select   ID   as   ID,   title   as   主题,user_name   as   提出人,rp_name   as   回复人,tc_time   as   提出时间   from   topics "
                                  Set   RS=Server.CreateObject( "ADODB.RecordSet ")
RS.Open   fhsql,connstr,adOpenDynamic,adLockPessimistic,adCmdtext
RS.PageSize=6
IF   Request.QueryString( "pageno ")= " "   Then
      RS.AbsolutePage=1
ELSE
      RS.AbsolutePage=Request.QueryString( "pageno ")
End   IF
'下面通过累加方式,构造导航栏的内容

title= " <form   name= 'frmPage '> <div   align= 'right '> 第 "&RS.Absolutepage& "/ "&RS.PageCount& "页     共 "&RS.RecordCount& "条记录 "
IF   RS.AbsolutePage> 1   then
title=title& " <a   href= "&look& "?pageno= "&RS.AbsolutePage-1& "> 上一页 </a> "
Else
    title=title& "上一页 "
    End   if
    if   RS.AbsolutePage <RS.PageCount   then
    title=title& "     "& " <a   href= "&look& "?pageno= "&RS.AbsolutePage+1& "> 下一页 </a> "
    Else
          title=title& "下一页 "
    end   if  
  if   RS.AbsolutePage> 1   then
  title=title& " "& " <a   href= "&look& "?pageno=1> 首页 </a> "
  else
 
                              title=title& "首页 "
      End   if
      IF   RS.Absolutepage <RS.pageCount   then
     
  title=title& " "& " <a   href= "&look& "?pageno= "&RS.PageCount& "> 尾页 </a> "
  else  
 
                              title=title& "尾页 "
      end   if
title=title& "第 <input   type= 'text '   name= 'pageno '   onKeyPress= 'gopage() 'size=4> 页 </div> </form> "
Response.Write(   title)


'response.Write( " <TABLE   width= ' "&jd_table_w& " '   height=51   border=1   align=center   cellPadding=3   cellSpacing=0   class= 'jd_tab '   'style= 'border-collapse:collapse;word-wrap:break-word; '>   <TBODY>   <TR   class=jd_titlemu>   <TD   width= '6% '   class= 'jd_tab '   >   <div   'align= &#