<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www./TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www./1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>input</title> <style type="text/css"> <!-- input {border:1px solid #c00; background:#fff; } input {star : expression( onmouseover=function(){this.style.backgroundColor="#eee"}, onmouseout=function(){this.style.backgroundColor="#fff"})} .in40 {width:40px;} .in80 {width:80px;} .in120 {width:120px;} .in200 {width:200px;} --> </style> </head> <body> 姓名:<input class="in80" type="text" /><br /> 年龄:<input class="in40" type="text" /><br /> 性别:<input class="in40" type="text" /><br /> 手机:<input class="in120" type="text" /><br /> 地址:<input class="in200" type="text" /><br /> </body> </html> |
|