显示与HTML表同一行上的文本? [英] Display text on same line as HTML Table?

查看:283
本文介绍了显示与HTML表同一行上的文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<table>
    <tr>
        <td>Yes <input type="radio" value="yes" /></td>
    </tr>
    <tr>
        <td>No <input type="radio" value="no" /></td>
    </tr>
</table> Test Text

通常,文本测试文本将被推送到下一行。是否可以将测试文本文本保留在表格的同一行上?

Normally, the text 'Test Text' will be pushed to the next line. Is it possible to keep the 'Test Text' text on the same line as the table?

推荐答案

<table style="width: 250px;float: left;">
    <tr>
        <td>Yes <input type="radio" value="yes" /></td>
    </tr>
    <tr>
        <td>No <input type="radio" value="no" /></td>
    </tr>
</table>

Some text

这篇关于显示与HTML表同一行上的文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆