Please help label text problem

aditya12c

Active member
Joined
Aug 21, 2005
Messages
26
Programming Experience
Beginner
i am new to ASP.net
was making a form where der are 3 labels
EG. First name
Last name
Password

which have 3 textbox too.. now in labels the text i want it in extreme right.. like in vb.net we have textAlign right, left, center.. Rite

I want to do same in ASP.net i was looking in properties der is nothing like textalign. i tried to write <center> Firstname </center> in the html code(ASP.Net) but code dint work out.. please help me..
 
My asp.net isn't up to much. But you can try wrapping it like this...

VB.NET:
<div align="right">
</div>

Or maybe...

VB.NET:
Me.YourLabelName.Style["text-align"] = "right"
 
Back
Top