Just a simple question: Is something like this ok ?
for example:
#formbox textarea,
#formbox input,
#formbox select {
padding: 5px;
border-radius: 3px;
border: 1px solid #CCCCCC;
margin-bottom: 25px;
width: 220px;
}
#formbox select {
width: 232px;
}
#formbox textarea {
width: 300px;
margin-bottom: 0;
}
I assigned width and margin-bottom property for select and textarea twice, is it ok, or should i just separate #formbox textarea, #formbox input, #formbox select and copy&paste properties that are the same for them ?
Aucun commentaire:
Enregistrer un commentaire