Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I am unable to move label i asp.net 2008,because it has no option of position :absolute;please anybody having any idea regarding this.



thanks in advanced
Posted

1 solution

If you know how to use cascading style sheets in your web form then , define a css class in you css file :
CSS
.float
{
    position: absolute;
    top: 200px;
    left: 200px;
}


Then set your asp:label's CssClass to float

Hope it helps.
 
Share this answer
 
Comments
Abhinav S 19-Dec-11 1:24am    
Should help. 5.
Amir Mahfoozi 19-Dec-11 1:35am    
Thank you abhinav :)
chinta123 20-Dec-11 1:32am    
i couldn't understand .can u explain properly..?

Amir Mahfoozi 20-Dec-11 1:43am    
Read this page and if you didn't understand after that tell me to describe more : http://www.beansoftware.com/ASP.NET-Tutorials/CSS-ASP.NET.aspx
chinta123 20-Dec-11 1:48am    
i got my answer. visit http://forums.asp.net/t/1600461.aspx/1 ..:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900