|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS Problems
Hey all,
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. |
|
#2
|
||||
|
||||
|
Code:
<style type="text/css">
#inputBox
{
border:black solid 1px;
}
#checkBox
{
border:0px;
}
</style>
...
<input type="text" class="inputBox" id="tb1"><br>
<input type="radio" class="checkBox" id="r1"><br>
<input type="checkbox" class="checkBox" id="cb1">
...
Jus tmake up your style requirements and give them class names, then add class="..." to the relevant <input>'s...
__________________
Support requests via PM will be ignored! |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS Problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|