图片滚动为什么总有累计距离差
来源:百度知道 编辑:UC知道 时间:2024/06/15 22:43:02
我的代码如下: <table width="970" border="0" cellspacing="0" align="center">
<tr><td>
<div id="article1" style="width:970;">
<TABLE cellSpacing="0" cellPadding="0" width="970" border="0">
<tr><td height=33 align=center><a href=http://www.webjx.com target=_blank><img src=http://www.trade121.cn/image/new/banner1.jpg width=970 height=33 border=0></a></td></tr><tr><td height=33 align=center><a href=http://www.webjx.com target=_blank><img src=
<tr><td>
<div id="article1" style="width:970;">
<TABLE cellSpacing="0" cellPadding="0" width="970" border="0">
<tr><td height=33 align=center><a href=http://www.webjx.com target=_blank><img src=http://www.trade121.cn/image/new/banner1.jpg width=970 height=33 border=0></a></td></tr><tr><td height=33 align=center><a href=http://www.webjx.com target=_blank><img src=
表格默认是有边界的,即使border=0 只是看不到而已,边界还是存在的.
\我测试过
if(currentTopa==33) //滚动一次的距离
这里33改成34就可以了