cssでいくつかの入力フィールドを追加しようとしていたとき
問題が発生しました
一部の入力フィールドに対して複数の css を作成できませんでした
これは私が持っているフィールドです
<input type="text" name="firstName" />
<input type="text" name="lastName" />
そしてcssは
input
{
background-image:url('images/fieldBG.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:235px;
}
このcssで最初のフィールド(firstName)を作りたい
input
{
background-image:url('images/fieldBG.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:235px;
}
このcssを使用した2番目のもの(lastName)
input
{
background-image:url('images/fieldBG2222.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:125px;
}
助けてください :-)