开发者

How to do a carriage return for a <th> tag in html

hello i have a table with <th> i want 开发者_运维百科to do a carriage return when my titlle is long


Either insert a <br /> tag at the place you want the text to wrap or use the CSS style white-space:normal to allow the browser to split the text at a place it thinks best. Since this rarely works well, you should also give the column a specific width so the break appears in a nice place.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜