TrialUser
asked on
label margin is lost when text appeas in th second line
When the text for lblMsg is long and flows to the next line, then it is not applying the margin-left:10 on line 2. How can I align the text for lblMsg on line 1 and line 2 . thanks
<td>
<asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Size="14px" Font-Bold="true" style="margin-left:10px;"> </asp:Labe l>
</td>
<td>
<asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Size="14px" Font-Bold="true" style="margin-left:10px;">
</td>
ASKER
that doesnt work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi,
set width for <TD> and set label property "Wrap = true;"
set width for <TD> and set label property "Wrap = true;"
set width to label also..
<span style="margin-left:10px;">
</td>