Check out my live code demo here
This is a simple html code where I am attempting to indent radio buttons and checkboxes, but it's proving to be difficult.
<tr>
<td>
<table>
<tr>
<td>Select from 1</td>
<tr>
<td><INPUT name="all" type="radio"></td>
<td>all item</td>
</tr>
<tr>
<td><INPUT name="x" type="checkbox"></td>
<td>x item<INPUT TYPE="text" size="8"></td>
<tr>
<td><INPUT name="y" type="checkbox"></td>
<td>y item<INPUT TYPE="text" size="8"></td>
</tr>
</tr>
</tr>
</table>
<table>
<tr>
<td>Select from 2</td>
</tr>
</table>
</td>
</tr>
The current output resembles this:
https://i.sstatic.net/1gTld.png
However, what I'm aiming for is this:
https://i.sstatic.net/tf9iE.png
I am looking to indent the x item and y item checkboxes. When using colspan="2", only the text gets indented and not the entire body (checkbox and text). Is there any way I can shift this snippet to the right?
<tr>
<td><INPUT name = "y" type="checkbox"></td>
<td>y item<INPUT TYPE="text" size="8"></td>
</tr>