I am using ASP.NET. I have 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? Thanks!
+1
A:
The table cell is narrower that the combined width of the buttons.
Try:
<td nowrap>
on that cell.
Diodeus
2010-05-07 19:36:41
tried that. did not work. :(
Anon
2010-05-07 19:39:06
I suspect the width of that cell is hard-coded in one of the rows. If it is, make it wider or delete the width value to allow the nowrap to work.
Diodeus
2010-05-07 20:35:33
A:
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.
Nissan Fan
2010-05-07 20:07:38