谢谢大家对我的帮助,我基本上是想达到5楼的意思,但正好相反,我现在已经做成这个样子了,
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<form action="product_search.asp" method="post" name="form2"><td height="30" colspan="2" align="center" background="../image/line_1x28bg.gif">
<font class="r12">快速查找所有产品:
<input name="keyword" type="text" size="20" maxlength="50" value="请输入不含空格关键字" onFocus="this.value=''" onMouseOver="this.focus()">
</font>
<input name="搜 索" type="submit" id="搜 索" value="搜 索" /></td>
</form>
<form action="product_search.asp" method="post" name="form2"><td height="30" colspan="2" align="center" background="../image/line_1x28bg.gif">
<font class="r12">快速查找所有产品:
<input name="keyword" type="text" size="20" maxlength="50" value="请输入不含空格关键字" onMouseOver="this.focus()" onFocus="this.select()" >
</font>
<input name="搜 索" type="submit" id="搜 索" value="搜 索" /></td>
</form>
</body>
</html>
[此贴子已经被作者于2006-1-19 15:56:10编辑过]