<html>
<head>
<style>
/*聚焦時文本框爲米黃色*/
.inputTxt {star : expression(
οnfοcus=function(){this.style.backgroundColor="#FFF8DC"},
οnblur=function(){this.style.backgroundColor="#FFFFFF"})
}
/*鼠標經過列表單行亮色*/
.showLineColor {
BACKGROUND: #ffffff; COLOR: #000000; TEXT-DECORATION: none;
star : expression(
οnmοuseοver=function(){this.style.backgroundColor="#D0E4FD"},
οnmοuseοut=function(){this.style.backgroundColor="#FFFFFF"})
}
</style>
</head>
<body>
<center>
<table width="800px" border="1">
<tr class="showLineColor">
<td>姓名: <input type="text" class="inputTxt"/></td>
</tr>
<tr class="showLineColor">
<td>手機: <input type="text" class="inputTxt"/></td>
</tr>
<tr class="showLineColor">
<td>性別: <input type="text" class="inputTxt"/></td>
</tr>
<tr class="showLineColor">
<td>班別: <input type="text" class="inputTxt"/></td>
</tr>
<tr class="showLineColor">
<td><input type="button" value="submit"></td>
</tr>
</table>
</center>
</body>
</html>