开发者

overflow: auto; is it supported for <td> of a html table?

There are long texts or string for html tab开发者_开发百科le <td>.

Now I want to break the line/texts/string.

overflow: auto; is it supported for <td> of a html table? I tried it it doesn't work.

How can I solve it ?


add a CSS attribute white-space

white-space:normal;


if your server side language is PHP you can word-wrap your data came from PHP using this function php wordwrap function

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜