0
以下选择选项在Firefox/Chrome中显示正常,但在IE8中不显示。请帮忙。选择选项不在Internet Explorer中显示
<select id = "vehicle" name = "vehicle" class = "vehicleSelect">
<option value = "-1" selected> </option>
<option value = "15">Car</option>
<option value = "16">Bike</option>
<option value = "17">Train</option>
</select>
CSS:
.vehicleSelect
{
width: 100%;
height: 100%;
font: 10px/1.45em "Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
padding: 3;
border: 0;
}
在一个侧面说明,请确保您的填充有单元。 3单独是没有意义的。 – j08691
只是为了澄清,哪个版本的Internet Explorer? –
正如我的物理老师会说:3什么?每秒3个西瓜?每棵3只鹦鹉?单位!单位! –