Table column width unexpectedly shortened
I have an HTML table (populated from a datatable on server side), with no styling except background color, and for some reason it breaks some of the lines. Is there any 开发者_开发问答CSS behavior that dictates this? I tried to replicate it with a table populated with a random string of "M "s, and it also broke the line after every space...
EDIT:
What's happening:
|M|M|
|M|M| |M|M|What's supposed to happen:
|M M M |M M M |
Thanks!
I think you mean the NOWRAP option.
<table><tr><td NOWRAP>Text</td></tr></table>
精彩评论