我想强制文本到下一行 [英] i want to force text within to next line

查看:92
本文介绍了我想强制文本到下一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< html>

<html>

</table>

        <table  style="width: 450 px; " cellpadding="0" cellspacing="0" border="1" >
            <tr>
                <td  style="clear:right">
                    Name23333333333333333333333333333333333333332222222222222222222222222222222vicky</div></td>

                <td> <div style="width:150px; overflow:visible; white-space:nowrap;">
                    Name23333333333333333333333333333333333333332222222222222222222222222222222</div></td>
               <td> <div style="width:150px; overflow:visible; white-space:nowrap;">
                    Name23333333333333333333333333333333333333332222222222222222222222222222222</div></td>
            </tr>
        </table>
         </div>
    </body>
</html>

推荐答案


尝试在必须中断的地方在字符串中添加br标签.

希望这对您有用...

try to add br tag in the string from where you have to break the line.

hopes this works for u...


这篇关于我想强制文本到下一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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