我在将 chrome 中的箭头向右对齐时遇到问题,如图所示:
铬合金:
火狐:
作用于选择标签的有效 css 是:
select {
padding: 2px 5px 5px 20px;
width: 90%;
margin: 0;
background: #f8f8f8;
color: #888;
border: 1px solid #000;
outline: none;
display: inline-block;
cursor: pointer;
}
而 HTML 是
<select class="qt_select" name="q3">
<option value="pa_answeroption:704">1</option>
<option value="pa_answeroption:705">2</option>
<option value="pa_answeroption:706">3</option>
<option value="pa_answeroption:707">4</option>
<option value="pa_answeroption:708">5</option>
</select>