您的位置:首页 > 其它

[导入]怎样把中的禁止 怎么禁止选择下拉框中的某个选项

2008-03-04 13:40 363 查看
<html>
<head>
<style type="text/css">
.disabled {
}
.disabled optgroup {
font-size: 12px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color:#CCCCCC;
background-color: #F5F5F5;
}
.disabled option {
padding-left:0px;
}
</style>
<title></title>
</head>
<body>
<select name="carCos" class="disabled">
<optgroup label="American"></optgroup>
<option value="General Motors">General Motors</option>
<option value="Ford">Ford Motor Company</option>
<option value="Chrysler">DaimlerChrysler</option>
<optgroup label="Japanese"></optgroup>
</select>
</body>
</html>
</select>
</body>
</html>
文章来源:http://Jorkin.Reallydo.Com/default.asp?id=475
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: