<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-CN" />
<title>用javascript美化Select</title>
<style type="text/css">
* { margin:0; padding:0; }
body { margin:50px; }
.iDiv {
position:absolute;
height:19px;
font-size:12px;
color:#333;
line-height:19px;
text-indent:4px;
vertical-align:middle;
border:1px solid #7f9db9;
cursor:default;
cursor:pointer;
background:url(http://pet.runsky.com/img/select_bg.gif) no-repeat 100% 0;
}
.iDiv_over { color:#f96;
美观下拉框实例2
最新推荐文章于 2023-07-09 19:39:22 发布