《美仙女》首页模块“原代码”:
<DIV align=center>
<TABLE id=table1 style="LEFT: 0px; WIDTH: 458px; POSITION: relative; TOP: 0px"> <TBODY> <TR> <TD> <MARQUEE scrollAmount=2 scrollDelay=100 behavior=alternate loop=ture width=458 height=458> <TABLE height=458 width=1917> <TBODY> <TR> <TD><IMG height=458 src="http://userimage2.360doc.com/12/0302/09/8860236_201203020932130767.jpg" width=1000 border=0><IMG height=458 src="http://userimage2.360doc.com/12/0302/09/8860236_201203020932540736.jpg" width=917 border=0></TD></TR></TBODY></TABLE></MARQUEE> <DIV></DIV> <DIV class=divBorderStyle style="LEFT: 3px; POSITION: absolute; TOP: 3px" width="458" height="458"><IMG style="LEFT: 0px; TOP: 0px" src="http://userimage2.360doc.com/12/0302/09/8860236_201203020906060142.gif"></DIV> <DIV></DIV></TD></TR></TBODY> <DIV></DIV> <DIV></DIV></TABLE></DIV> 《美仙女》首页模块“修改版代码”如下: <DIV align=center>
<TABLE id=table1 style="LEFT: 0px; WIDTH: 540px; POSITION: relative; TOP: 0px"> <TBODY> <TR> <TD> <MARQUEE scrollAmount=2 scrollDelay=100 behavior=alternate loop=ture width=440 height=458> <TABLE height=458 width=1917> <TBODY> <TR> <TD><IMG height=458 src="http://userimage2.360doc.com/12/0302/09/8860236_201203020932130767.jpg" width=1000 border=0><IMG height=458 src="http://userimage2.360doc.com/12/0302/09/8860236_201203020932540736.jpg" width=917 border=0></TD></TR></TBODY></TABLE></MARQUEE> <DIV></DIV> <DIV class=divBorderStyle style="LEFT: 3px; POSITION: absolute; TOP: 3px" width="440" height="458"><IMG style="LEFT: 0px; TOP: 0px" src="http://image4.360doc.com/DownloadImg/2009/7/22/75307_4393128_165.gif"></DIV> <DIV></DIV></TD></TR></TBODY> <DIV></DIV> <DIV></DIV></TABLE></DIV> 说明:更换边框以后,相片比边框宽了,出现了边框的右面显示相片的情况。后来把第六行“移动标签”代码中的width=458 修改为width=440 以后,合适了。
<MARQUEE scrollAmount=2 scrollDelay=100 behavior=alternate loop=ture width=440 height=458>
红色字体的数字是修改以后的数值。 修改以后的网址是:
|
|