Jak dodać css dla konkretnego tekstu typu wejściowego
Kiedy próbowałem dodać kilka pól wejściowych za pomocą css
Mam problem
Nie mogłem zrobić więcej niż jednego css dla niektórych pól wejściowych
to są pola, które mam
<input type="text" name="firstName" />
<input type="text" name="lastName" />
a css jest
input
{
background-image:url('images/fieldBG.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:235px;
}
Chcę zrobić pierwsze pole (firstName) z tym css
input
{
background-image:url('images/fieldBG.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:235px;
}
a drugi (lastName) z tym css
input
{
background-image:url('images/fieldBG2222.gif');
background-repeat:repeat-x;
border: 0px solid;
height:25px;
width:125px;
}
prosimy o pomoc :-)