Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my company is using visual studio 2005, iam new joiner, in design view the textboxes and label are showing in correct position ,when i run them the the textbox and label are displaying here and there, every time when i drag the button from the toolbar set ts postion as relative ,is that any problem.
give me an solution
Posted
Comments
shijuse 25-Oct-11 7:26am    
Hi.. I think u r not using div or table in the design side ...pls try with table or div
ashok_89 31-Oct-11 6:14am    
yes ur correct iam not using the table or the div tag thank u
shijuse 31-Oct-11 11:33am    
Most welcome.....
ashok_89 25-Oct-11 7:41am    
no the div tag is being already used

1 solution

use the table tag in aspx page like this :

XML
<table>
<tr>
<td>
Name :
</td>
<td>
    <asp:TextBox ID="TxtName" runat="server"></asp:TextBox>

</td>
<td>
Address :
</td>
<td>
<asp:TextBox ID="TxtAddress" runat="server"></asp:TextBox>
</td>
</tr>
</table>
 
Share this answer
 

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