Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i change the position settings of a WebForm?

Status
Not open for further replies.

hanglam

Programmer
Dec 11, 2002
143
US
Hi,

I just started using Visual Studio 2010 to develop an ASP.NET Web Application.
My question is whenever I drag a component (Label, Textbox, etc) onto the WebForm, the component (Label, Textbox, etc) automatically goes to the top left corner of the WebForm. How do I change the settings of the WebForm so I can place a component (Label, Textbox, etc) anywhere I want to the WebForm?
Same question applies whenever I placed a component (Label, Textbox, etc) inside a Panel or the Content container, the labels or textboxes just position themselves on the top left corner of the Panel of Content Container in a sequential manner. How can I place components inside a Panel or Content container anywhere I want inside the Panel or Content container?

Thanks,
Hang
 
If you are coming from a windows application development background, getting used to creating web applications takes some getting used to. When developing a windows app, it is a WISIWIG environment. With a web app it is not. This is because there are many different browsers and each one can potentially render your page differently, even if slightly. That being said, you will need to learn CSS and use that for positioning of your form elements. It can be a bit frustrating at first, but you will get used to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top