January 15th, 2004, 05:44 AM
I have a small problem. In my webpage stylesheet I have set the <input> tag as having a solid border of 1 in black. Now when I do text boxes this is fine. But when i do checkboxes it looks stupid so how do it so that on some input tags it works and other input tags it doesn't.
Thanks in advance.
January 15th, 2004, 06:02 AM
Jus tmake up your style requirements and give them class names, then add class="..." to the relevant <input>'s...
border:black solid 1px;
<input type="text" class="inputBox" id="tb1"><br>
<input type="radio" class="checkBox" id="r1"><br>
<input type="checkbox" class="checkBox" id="cb1">