我有一个问题,通过CSS选择框的样式。它应该看起来像放在我的页面中的另一个。这里是我当前代码的一个例子。选择框样式通过CSS
<select>
<option selected="selected" value="1">1</option>
<option value="2">2</option>
</select>
<br>
<input type="text" style="width:35px;margin-right:0px;">
<input type="text" style="width:180px;">
而且这里的CSS我使用:
input[type=text], textarea, select{
border: 1px solid #cccccc;
font:10px sans-serif;
background-color: #ffffff;
width: 240px;
height:14px;
padding:5px;
color: #101010;
}
在这里你可以找到问题的小提琴如果得了:http://jsfiddle.net/6VGWc/。选择框是“不可见的”。我希望你能帮助我。需要