Gossamer Forum
Home : General : Internet Technologies :

CSS question -- flat forms

Quote Reply
CSS question -- flat forms
I am having a problem with making some forms look flat in CSS. here is the code i'm using to do it:

Code:
CHECKBOX, INPUT, RADIO, SELECT {

border: black 1px solid;
margin:0;
padding:2px;
background-color: #B4BCCE;



font-family: Verdana, Arial, sans-serif;
font-size: 11px;Code

}



The problem is that it puts a border around the default button for the form also, and i cant figure out how to make leave the border off of the button.



here's the site i'm refering to: www.charlieschoppers.com



thanks for any help,

Ryan Frenz



Quote Reply
Re: [itsme80] CSS question -- flat forms In reply to
Have you tried using another CSS class object? Like using "text_field" rather than "border".

Then use:


<input type="text" class="text_field">

========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [itsme80] CSS question -- flat forms In reply to
Use a separate class for your button.

<INPUT class="form_button" TYPE="submit" NAME="" VALUE="Go">
Then you can make it into anything you want.

Bob
http://totallyfreeads.com.au