Forum Moderators: not2easy

Message Too Old, No Replies

Form input boxes etc.

best way?

         

PatrickKerby

1:29 am on Jun 22, 2004 (gmt 0)

10+ Year Member



Hey, any suggestions for the best way to customize a typical form input box?
thanks

Patrick

jo1ene

1:48 am on Jun 22, 2004 (gmt 0)

10+ Year Member



I personally wouldn't customize it too much. People are skittish things. You never know what they'll spook at. However, if you add a border like so:

input {
border: 1px solid #003366; //whatever color
}

it makes it look flat. It dosn't really work for dropdowns but it does for textaras. And you have to be aware that it will put a border on all you check boxes, so separate the code for each type. You could do background colors but I think it's gaudy to do so.

Also, if you set font properties, the text that's typed in will match that of your site.

PatrickKerby

1:52 am on Jun 22, 2004 (gmt 0)

10+ Year Member



thanks very much.
yeah, thats basically what i wanted... flat with a border, and to match my site's type. just couldn't find the tag in my css guide.
"input" is the key.
thanks