table inside table td
I have table td inside that am using another table but text and fields are not coming on same line,i have tried with padding,cellso but nothing worked for me
<table>
<tr>
<td> Label </td>
<td>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td> <input type=che开发者_如何学编程ckbox> Field Name </td>
</tr>
</table>
</td>
</tr>
</table>
Your code is just fine. What do you think is wrong with it? I tested it out and it works great.
Your code looks fine
<table border="1">
<tr>
<td>Label</td>
<td>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td>
<input type=checkbox />Field Name
</td>
</tr>
</table>
</td>
</tr>
</table>
open this in the browser, and tell me what's wrong with it?
精彩评论