Announcement Box
|
|
|
步驟四 逐行指令如下:
<div id="showimage" style="position:absolute;width:250px;left:175;top:100">
250
是佈告板的寬度,它必須與下面的表單寬度相等。 175
為指定佈告板與瀏覽窗口左端的距離。 100
為指定佈告板與瀏覽窗口上端的距離。
<table border="0" width="250" bgcolor="#990000" cellspacing="0" cellpadding="4">
250
是跟隨前面的數字。 #990000
為指定佈告板的頭部與框邊的背景顏色。
<font face="Verdana" color="#FFFFFF"><strong>佈告板</strong></font>
#FFFFFF
是告示板標題字体的顏色。 佈告板
是標題。
<td width="100%" bgcolor="#C0C0C0" style="padding:4px" colspan="2">
#C0C0C0
是佈告板內容的背景顏色。
<!--html 內容由此開始 --------->
在這兩個標記之間佈置佈告板的 html 內容。使用標準的字体(font)
標記以設定文字的級數和顏色。也可以使用鏈接和圖像等標記。
<!--html 內容到此結束 --------->
就是如此簡單! 請享用
|