Log in

View Full Version : Css => form styling



Eccentric
03-10-2007, 02:22 PM
is there a way just to do the form area's as such ive got;
input
{
color: #d5d5d5;
background: #ffffff;
border: 1px dashed #a5a5a5;
padding:3px;
width: 200px;
}
but that includes the submit button which i don't want 200px wide. i know i can use submit {} but is there one for the actuall form area's

Invent
03-10-2007, 02:24 PM
put it as a class not a document wide style.

.input
{
color: #d5d5d5;
background: #ffffff;
border: 1px dashed #a5a5a5;
padding:3px;
width: 200px;
}

Then on the input forms add class="input".

Eccentric
03-10-2007, 02:25 PM
i never thought of that, many many thanks AGAIN :D

Invent
03-10-2007, 02:25 PM
No problem :)

Want to hide these adverts? Register an account for free!