开发者

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>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜