ASP 数据排版问题,100分求助

来源:百度知道 编辑:UC知道 时间:2024/09/21 08:13:31
先贴出我的找码:
<table width="100%" align="center"><tr>
<td align="center">
<div style="width:760px; height:165px;background:#F7FDFD; border:#E8FCFD 1px solid; text-align:left; padding:1px;">
<div style="width:756px;height:20px; background:#E1F5FB; text-align:left;">竞价排名>><span style=" margin-left:520px;">         热线:<%=rexian%></span></div>

<%sql="select top 12 * from china_data where "&cityid&" "&typeid&" mark='yes' and stop >= date() and money > 0 order by money desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof then%>

<span class="ggg" onMouseOver="this.className='hov'" onMouseOut="this.className='ggg'">

<table width="100%" align="center"><tr>
<td align="center">
<div style="width:760px; height:165px;background:#F7FDFD; border:#E8FCFD 1px solid; text-align:left; padding:1px;">
<div style="width:756px;height:20px; background:#E1F5FB; text-align:left;">竞价排名>><span style=" margin-left:520px;"> 热线:<%=rexian%></span></div>

<%sql="select top 12 * from china_data where "&cityid&" "&typeid&" mark='yes' and stop >= date() and money > 0 order by money desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof then%>

<span class="ggg" onMouseOver="this.className='hov'" onMouseOut="this.className='ggg'">

<img src="images/none_ad.gif" />