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
if you wish to add some spacing.
精彩评论