<div style="POSITION: absolute; TOP: 0px; LEFT: 10px" class="divBorderStyle">
<table title="清泉書館" border="0" cellspacing="0" cellpadding="0" width="1000" background="http://userimage6.360doc.com/15/0608/12/3459959_201506081234340331.gif" align="center" height="165" style="width: 1000px; height: 165px;">
<tbody><tr><td>
</td></tr></tbody></table></div>
簡釋:
1、第一個標(biāo)簽<div style="POSITION: absolute; TOP: 0px; LEFT: 10px" class="divBorderStyle">是絕對定位標(biāo)簽。
其中POSITION: absolute是絕對定位;
TOP: 0px是至上邊的距離,因它為零像素,故我又稱其為置頂標(biāo)簽;
LEFT: 10px是至上邊的距離為10個像素(自設(shè))。
2、第二各標(biāo)簽<table border="0" cellspacing="0" cellpadding="0" background="http://userimage6.360doc.com/15/0608/12/3459959_201506081234340331.gif" style="width: 1000px; height: 165px;">是表格標(biāo)簽。
其中background="http://userimage6.360doc.com/15/0608/12/3459959_201506081234340331.gif" 是作為表格背景的你所選圖片的地址;
width: 1000px是自定顯示頂圖的寬,這里我的寬是1000像素;
height: 165px是自定顯示頂圖的高,這里我的高是165像素。
3、下面</table></div>就是尾標(biāo)簽了。
注:這個頂圖是最最簡單的頂圖了。我們先不加移動字,您作作看。熟練后咱再加移動字。
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。