像素(px)和點(pt)
點常用作字體大小的單位,像素用作層或其他對象的大小和位置的單位。
=============================================================================
使用外部樣式表
<link rel="stylesheet" type="text/css" href="style.css">
=============================================================================
表單(form)的下拉列表(select):
<form name="form1">
<select name="select1">
<option value="op1">op1</option>
<option value="op2">op2</option>
<option value="op3">op3</option>
</select>
</form>
i=docement.form1.select1.selectedIndex;//選中的選項
document.form1.select1.options[i].value;//選項的值
==============================================================================