Monday, March 15, 2004

Creative CSS for Form Inputs

I saw this little piece of code today and thought I'd share it with the world (or at least the tiny fraction of it who will read this. It makes input boxes look a little more interesting than the usual inset bevel.

Name:

Address:

Shoe size:




CSS code:
.formInput
{
background: #f5f5f5;
color: #000000;
border-top-style: none;
border-bottom: #999999 1px dashed;
border-right-style: none;
border-left-style: none;
}