禁用文本换行 [英] Disable text wrapping

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

问题描述

这里是包含电子邮件和复选框单元格的表格。但我如何禁用文本包装?

Here is table with email and checkbox cells. But how i can disable textwrapping?

代码类似:

<table>
<tr>
<td>
<input type="checkbox" />
<td>
Dmitry soloviev (SolDmitr@mail.com)
</tr>
...........
</table>

推荐答案

您应该添加一些类...

you should add some classes ...

<table class="tbl-emails">

,然后

.tbl-emails td { white-space: nowrap; }

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

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