Hi i want to ask how to make the label text align to the right instead to the left thax
J Joko Mar 10, 2005 #1 Hi i want to ask how to make the label text align to the right instead to the left thax
C charmis p varghese Mar 10, 2005 #2 Hi Just try the code put the below code in <head></head> section <style> .labelright{text-align:right;} </style> add the cssclass property <asp:Label id="Label1" runat="server" CssClass="labelright"></asp:Lable> regards charmis
Hi Just try the code put the below code in <head></head> section <style> .labelright{text-align:right;} </style> add the cssclass property <asp:Label id="Label1" runat="server" CssClass="labelright"></asp:Lable> regards charmis
R recoil Mar 10, 2005 #4 Not really a perfect solution, however if you are going to use Microsoft's asp:Label and wish to be cross browser compatible this should work. <asp:Label Runat="Server" Id="lblBleah" style="float:left; width:150px; text-align:right; border:1px solid red;">hello</asp:Label>
Not really a perfect solution, however if you are going to use Microsoft's asp:Label and wish to be cross browser compatible this should work. <asp:Label Runat="Server" Id="lblBleah" style="float:left; width:150px; text-align:right; border:1px solid red;">hello</asp:Label>