工作之余,,看了高人的作品,很受啟發(fā),,抽空嘗試一下做表格邊框及滾動(dòng)堆疊圖片的定位,,供新手朋友欣賞,借鑒! (后附代碼及注釋?zhuān)?nbsp; 原圖:
代碼: <TABLE id=table1 title="" style="BORDER-RIGHT: #006600 5px ridge; BORDER-TOP: #006600 5px ridge; LEFT: 0px; BORDER-LEFT: #006600 5px ridge; BORDER-BOTTOM: #006600 5px ridge; POSITION: relative; TOP: 0px" borderColor=#003300 height=650 cellSpacing=0 cellPadding=0 width=890 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_3.jpg border=5> <TBODY> <TR> <TD height=455> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 70; LEFT: 30px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 200px 0px" height=240 width=5555 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 60; LEFT: 75px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 160px 0px" height=240 width=5555 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 50; LEFT: 120px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 120px 0px" height=240 width=5555 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> lute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 80px 0px" height=240 width=5555 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE title="" style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 30; LEFT: 210px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=450 height=240> <TABLE id=table2 style="BACKGROUND-POSITION:70px 0px" height=240 width=6005 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 20; LEFT: 675px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=40> <TABLE id=table2 style="BACKGROUND-POSITION: 580px 0px" height=240 width=5550 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 10; LEFT: 720px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 540px 0px" height=240 width=5550 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 5; LEFT: 765px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 500px 0px" height=240 width=5550 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE> <MARQUEE title="" style="BORDER-RIGHT: #008080 3px ridge; BORDER-TOP: #008080 3px ridge; Z-INDEX: 2; LEFT: 810px; BORDER-LEFT: #008080 3px ridge; BORDER-BOTTOM: #008080 3px ridge; POSITION: absolute; TOP: 30px" scrollAmount=1 scrollDelay=50 direction=right behavior=alternate width=30 height=240> <TABLE id=table2 style="BACKGROUND-POSITION: 460px 0px" height=240 width=5550 background=http://image100.360doc.com/DownloadImg/2016/10/1819/82531457_2.jpg border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></MARQUEE></TD></TR> <TR> <TD height=110><EMBED style="Z-INDEX: 100; LEFT: 700px; WIDTH: 130px; POSITION: absolute; TOP: 500px; HEIGHT: 110px" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://webftp.bbs.hnol.net/dysr/070330/ssplayer.swf type=application/x-shockwave-flash wmode="transparent" invokeurls="false" quality="High" allowScriptAccess="never" allowNetworking="internal"></TD></TR></TBODY></TABLE><BR>
|