Form Colors and Sizes

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

How do I change the color and size of a form input box?
I've seen it done with CSS, javascript, java, flash, all kinds of things, but I just want to know an easy way.
Thank you!
Smaller and different color.

Laughing out loud

detox's picture

They have: 571 posts

Joined: Feb 2001

try this, I use a variant of this nearly every time i have a form to do.


.submitlog {
                 font-family: Verdana,'Comic Sans MS',Arial,Sans-Serif, Helvetica;
                 font-size: 10px;
         border: 1px solid;
                 border-color:#B6C6C9;
                 width: 70px;
                 height : 18px;
                 background:#B6C6C9
                 }
'

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

check
http://www.jspinsider.com/reference/css/index.html for almost all CSS properties

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.