Radio buttons inside a table

liunx

Guest
I am trying to implement two radio buttons inside a table, which consists of two rows. The code works fine, except I cannot get the CHECKED option to work for the first button. Any suggestions? The actual code is below.<br />
<br />
<TABLE ALIGN = CENTER BORDER=5 CELLPADDING=5 CELLSPACING=5 WIDTH="55%"><br />
<TR><br />
<TD WIDTH=500 BORDERCOLOR="blue"><br />
<INPUT TYPE = "radio" NAME = "Agreement" VALUE = 1 CHECKED> <font color = "blue"><B> Yes. I fully agree to the above terms of usage</B>.<br />
</TD><br />
</TR><br />
<TR><br />
<TD WIDTH=500 BORDERCOLOR="red"><br />
<INPUT TYPE = "radio" NAME = "Agreement" VALUE = 0> <font color = "red"><B> No. I do not agree to the above terms of usage</B>.<br />
</TD><br />
</TR><br />
</TABLE><!--content-->Try putting the values in "" marks. Otherwise - this should be, logically, working fine.<br />
<br />
<INPUT TYPE="radio" NAME="Agreement" VALUE="1" CHECKED><br />
<br />
Also - don't forget to close your font tags!<!--content-->HTML renders the stuff fine without quotes so long as there are no spaces or special charecters in the name/ value. Your code worked fine for me as it was. Then I took out all the quotes and spaces after the equals sign. It worked the same. <br />
<br />
Are you having problems in a certain browser?<!--content-->
 
Back
Top