Wednesday, March 28, 2012

What is the "proper" way to place things on a page?

Hi,
I am new to web development, and so far have been using the designerand GridLayout mode to make all my pages (drag and drop to place them).I have since learned that this is bad practise since things might lookbad at different resolutions, and also more importantly, VS.NET 2k3 isbuggy and i've had a lot of problems using it.
Anyway, since people have been saying that drag-n-drop is bad, what isthe "proper" way to place items? Do we just do it the old school HTMLway, using <br> and to place everything? Or do you doit somehow else? Any extra tips or hints for doing this stuff isgreatly appreciated.
Thanks for any help.
Use tables to place controls in a page.
Its better you first design the page using Macromedia Dreamviewer using tables
and then copy paste the entire BODY content into the aspx page in VS.NET, because I think
its easier to design in Dreamviewer than VS.NET Dreamviewer
chaos,
Anz


The problem is with GridLayout, not with dragging and dropping of controls.

You should certainly use FlowLayout for all of your Web Forms. But dragging and dropping the server controls onto a page surface is just fine.

The more important point, at least in my opinion, is that you do not become dependent on dragging and dropping, so that you can, if necessary, switch to code view and edit the HTML and <asp:Control> tags directly.

0 comments:

Post a Comment