PDA

View Full Version : CSS: Checkbox input fields and IE


Jeff122185
03-26-2003, 11:50 PM
Ok, this CSS works and looks all right for checkboxes in Netscape / Mozilla (which I use), but my website is frequented by mostly IE users who I can't convince to switch. That said, the problem is that it looks really strange in IE. Here's the CSS code I use:

INPUT {border: 1px solid #003060; background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica; font-size: 11px;}

Since I have other input fields that I use and I really don't want to have to create a class and then change all the other input fields (besides checkboxes) to say class="foo", is there an easy solution to keep the checkboxes looking normal in IE simply by changing the CSS code? I am willing to make a separate class to make checkboxes look normal, but I'm not sure what to put in the class. Example

INPUT.foo { attributes here }
<INPUT class="foo" TYPE="checkbox" NAME="ballot[]" VALUE="0">

Thanks for any help.

Roy Sinclair
03-27-2003, 02:15 PM
input.foo { border: none; }