为什么滚动代码在火狐下不滚动
3个回答
2013-11-14
展开全部
林花谢了春红,太匆匆,无奈朝来寒雨晚来风。。。样式和html结构问题。
<DIV class="fr" id=r2 style=" overflow:hidden; WIDTH:954px; HEIGHT:195px; ">
<div style="width:5000px;">
<DIV id=r21 style="float:left">
<table cellPadding="0" align="left" cellspace="0" border="0">
<tr>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id=" style=" color:#000;"><%=rs("Topic")%></a>
</div>
</div>
</td>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id" style=" color:#000;">222<%=rs("Topic")%></a>
</div>
</div>
</td>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id=" style=" color:#000;">333</a>
</div>
</div>
</td>
</tr>
</table></DIV>
<DIV id=r22 style="float:left"></DIV></DIV>
<DIV class="fr" id=r2 style=" overflow:hidden; WIDTH:954px; HEIGHT:195px; ">
<div style="width:5000px;">
<DIV id=r21 style="float:left">
<table cellPadding="0" align="left" cellspace="0" border="0">
<tr>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id=" style=" color:#000;"><%=rs("Topic")%></a>
</div>
</div>
</td>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id" style=" color:#000;">222<%=rs("Topic")%></a>
</div>
</div>
</td>
<td>
<div style="width:230px; height:195px; float:left;" >
<div style="width:200px; margin:5px 0 0 5px; height:160px;"><a href="about.asp?db=News&id="><img src="pic/" /></a></div>
<div style="width:185px; height:35px; line-height:24px; text-align:center; clear:both;">
<a href="about.asp?db=News&id=" style=" color:#000;">333</a>
</div>
</div>
</td>
</tr>
</table></DIV>
<DIV id=r22 style="float:left"></DIV></DIV>
展开全部
html网页可以参考W3C标准 http://www.w3school.com.cn/w3c/w3c_html.asp
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-11-14
展开全部
林花谢了春红,太匆匆,无奈朝来寒雨晚来风。。。。样式和html结构不兼容火狐。
<DIV class="fr" id=r2 style=" overflow:hidden; WIDTH:954px; HEIGHT:195px; ">
<div style="width:6000px;">
<DIV id=r21 style="float:left">
……
……
<DIV id=r22 style="float:left;"></DIV></div></DIV>
<DIV class="fr" id=r2 style=" overflow:hidden; WIDTH:954px; HEIGHT:195px; ">
<div style="width:6000px;">
<DIV id=r21 style="float:left">
……
……
<DIV id=r22 style="float:left;"></DIV></div></DIV>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询