私は、選択ドロップダウンボックスにCSSスタイルを適用し、テキストボックスを入力します。IE8 IE7とFirefoxとは異なるCSS
スタイルはIE7とFirefoxでは動作しますが、IE8では動作しません。
CSSは次のとおりです。
input.text, input.file, textarea.textarea, select.select
{
font-family:"lucida grande",tahoma,verdana,arial,sans-serif;
color:#333;
margin:0;
padding:4px;
}
input.text, textarea.textarea, select.select{
border-top:1px solid #7c7c7c;
border-left:1px solid #c3c3c3;
border-right:1px solid #c3c3c3;
border-bottom:1px solid #ddd;
}
スタイルがtextboxedする罰金適用するために表示されますが、これはIE8で起こっている理由について/
任意のアイデアを選択していませんか?あなたはそれを見てしたいことがあり
<label class="desc" >
First name</label>
<input type="text" name="nuFirstname" id="nuFirstname" class="text pop" value="" /></li>
<li>
<label class="desc" >
Surname</label>
<input type="text" name="nuSurname" id="nuSurname" class="text pop" value="" /></li>
<li>
<label class="desc" >
Colour</label>
<select class="select pop" id="nuDept" name="nuDept">
<option value="-" selected="selected">-</option>
<option value="2">Green</option>
<option value="3">White</option>
<option value="4">Orange</option>
</select></li>
に適用されるとは思いませんか? –
私は何かを見逃していないことを確認する - あなたのSELECTタグはクラス= '選択'権利がありますか?同上のtextareaと.textarea? – n8wrl
私のためにうまくいくようです:http://www.jsfiddle.net/gFnzg/ – Andy