欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> input:focus { bac公斤round-color:yellow; } </style> </head>

<body> <form action="form_action.asp" method="get"> First name: <input type="text" name="fname" /><br /> Last name: <input type="text" name="lname" /><br /> <input type="submit" value="Submit" /> </form>

<p><b>剖明:</b>要是已划定 !DOCTYPE,那么 Internet Explorer 8 (以及更高版本)支持 :focus 伪类。</p>

</body> </html> 

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/shili/s53550.shtml