开发者

table inside table td

开发者 https://www.devze.com 2023-01-29 04:42 出处:网络
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

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消