What controls when text in a <TD> line wraps?
I have the following text in a <TD>
Form submitted at 11:11am on Friday 24th of June, 2011
It is appearing in FF5 as
Form submitted
at 11:11am on
Friday 24th of
Jun开发者_运维百科e, 2011
I look at the CSS styles in FireBug and can't see any reason for this.
I would liek to see it all on one line, but I don't want to set a width and I don't want to stuff the text with &NBSP;
I am curious as to how this happens, and also what the least effort solution is that would give me the complete text in a <TD>
(when the browser window is wide enough)
To force it to be one line you can use the white-space:nowrap
精彩评论