Forum Moderators: not2easy

Message Too Old, No Replies

Input Help

         

jonnyrzero

5:37 am on May 7, 2008 (gmt 0)

10+ Year Member



Here is the code i have(which i can't change) :

<td align="center"><input tabindex="1" type="checkbox" name="Option_01" id="Option_01" value="1"></td>
<td align="center"><input tabindex="2" type="checkbox" name="Option_02" id="Option_02" value="1"></td>

All i need to know is there a way using css to hide the second option. Something along the lines of...
<style>
input.Option_02 {display: none;}
</style>

Thanks!

Setek

6:54 am on May 7, 2008 (gmt 0)

10+ Year Member



You pretty much had it... it has an ID of "Option_02" so to reference IDs in CSS it's with a hash (#):

input#Option_02 { display: none; }

jonnyrzero

7:07 am on May 7, 2008 (gmt 0)

10+ Year Member



Sweet, thanks!