<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> simulate and beautify the select _ script house </title> <style type =" text/css "> select {height: 20px; width: 150px ;}. divSlt {position: absolute; font-size: 12px ;}. divSlt span {display: block; width: 100%; border: 1px solid #999999; background: url(down.gif) no-repeat right center; text-indent: 6px; cursor: pointer ;}. divSlt ul {display: block; background-color: # FFFFFF; width: 100%; border: 1px solid #999999; border-top: 0px; margin: 0px; padding: 0px; list-style: none ;}. divSlt ul li {text-indent: 5px; height: 20px; line-height: 20px; cursor: pointer ;} </style> </pead> <body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]