Padding around form fields

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, using css is it possible to add white space above and below a form
field like say, a textarea or a text input field? If so, could you
perhaps point me in the right direction?


Re: Padding around form fields (Neil) wrote:

Quoted text here. Click to load it

padding would be inside the form field - between the border and the
content, as with all other HTML elements.
margin would be outside the border.

But browsers vary in how much they apply styles to form elements so


"My theories appal you, my heresies outrage you,
 I never answer letters and you don't like my tie."  - The Doctor

Re: Padding around form fields

Yup, that's what I thought.

Thanks Steve


Site Timeline