-
asp:linkbutton text alignment within table
Dear all,
I have the following code:
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="right">
<tr>
<td valign="top" width="5%"> <img src="images/mblackarrow.gif">
</td>
<td align="left" width="95%">
<asp:linkbutton id="Linkbutton1" runat="server" style="TEXT-ALIGN:left"
Text='<%# Trim(DataBinder.Eval(Container.DataItem, "ReportName")) %>' CommandName="select"
/>
</td>
</tr>
</table>
My problem is that if the text for the linkbutton is too long, the table
will display like this:
> Report1-1111
222
> Report2-ABCD
EFG
Is there a way to fix the code so that the result will look like this:
> Report1-1111
222
> Report2-ABCD
EFG
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|