Padding around form fields

N

Neil

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?

Thanks,
Neil
 
S

Steve Pugh

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?

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
experiment.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top