Forums

CSS in form (spacing and font)

sharataka 04 Jan, 2011
Hello,

Within a textbox and textarea, what CSS can I write to make the font the same? Do I have to add anything in the html referencing these textboxes as well? I'm assuming I have to edit the style1.css sheet.

Thanks,
Sharat
GreyHead 05 Jan, 2011
Hi Sharat,

If you find this entry in style1.css
.form_element select, .form_element input {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
}
you can add the textarea too
.form_element select, .form_element input, .form_element textarea {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
}

Bob
This topic is locked and no more replies can be posted.