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.
精彩评论