有一个简单的vanilla下拉列表,它在IE 11中打开时显示内容的方式与旧版本完全不同。 IE 11显示为IE 8的任何方式吗?
<html>
<H2>Test plain drop-down in IE 11 </H2>
<br/><br/>
<p>
First item is pre-selected : <select id="testIE11">
<option value=0 selected>item 0</option>
<option value=1>item 1</option>
<option value=2>item 2</option>
<option value=3>item 3</option>
<option value=4>item 4</option>
<option value=5>item 5</option>
<option value=6>item 6</option>
<option value=7>item 7</option>
<option value=8>item 8</option>
<option value=9>item 9</option>
<option value=10>item 10</option>
<option value=11>item 11</option>
<option value=12>item 12</option>
</select>
</p>
6th item is pre-selected : <select id="testIE11">
<option value=0>item 0</option>
<option value=1>item 1</option>
<option value=2>item 2</option>
<option value=3>item 3</option>
<option value=4>item 4</option>
<option value=5>item 5</option>
<option value=6 selected>item 6</option>
<option value=7>item 7</option>
<option value=8>item 8</option>
<option value=9>item 9</option>
<option value=10>item 10</option>
<option value=11>item 11</option>
<option value=12>item 12</option>
</select>
</html>