Forum Moderators: open

Message Too Old, No Replies

css & forms

         

scorpion

9:38 pm on Mar 19, 2003 (gmt 0)

10+ Year Member



I've seen on some websites those micro form fields (i.e. the height of the field is really small so it looks neat) but when I make an HTML field it always has a standard height...is that effect achieved using CSS somehow?

DrDoc

9:42 pm on Mar 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The easiest way is to change the font properties:

Compare

input, select, textarea {
font: 12px Verdana;
}
with
input, select, textarea {
font: 32px Verdana;
}