开发者

Buttons are wrapping when rendered HTML/ASP.NET

I am using ASP.NET. I have开发者_如何学JAVA an html table. One of the table cells (td) has two buttons. Just recently, when it is being rendered it is wrapping the buttons. Can anyone tell me why this is happening?


The table cell is narrower that the combined width of the buttons.

Try:

<td nowrap> on that cell.


Try this CSS:

<td style="white-space: nowrap;">

Also, make sure you remove any unnecessary white space between the buttons and replace it with &nbsp; if you wish to add some spacing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜