Monday, June 15, 2009

No Wrap

This is another simple, yet eats off time and forces us to use TDs to allign text + few elements in a td in one horizontal line. The fix is :

<td style="white-space: nowrap;" >  and <s:textfield theme="simple"
                    maxlength="4" size="4" name="playerAccAgeValue2" /></td>

This one worked for me. Another proposed soln:


<td>
 <nobr> 
<asp:Button ID="Button1" runat="server" Text="Add" />
<asp:Button ID="Button2" runat="server" Text="Delete" />
 </nobr> 
</td>
This stops the text from being wrapped around the textbox. Hope it helps.

No comments:

Post a Comment