alignment of controls
-
I am adding some new pages to an existing C# asp.net 2010 web forms website. Due that that fact and I am new to web design but how desktop expereince, I have the following question: On the exsiting web pages, most of the controls are embedded in a web table control. I am guesing this is occuring so all the web form controls are aligned correctly. Is that the only way to make the various controls line on correctly? If not, can you tell me another way how to make the controls all line up the same. (I do know when I worked with pure HMTL in year 2000, all the HTML controls were embedded within the same table
-
I am adding some new pages to an existing C# asp.net 2010 web forms website. Due that that fact and I am new to web design but how desktop expereince, I have the following question: On the exsiting web pages, most of the controls are embedded in a web table control. I am guesing this is occuring so all the web form controls are aligned correctly. Is that the only way to make the various controls line on correctly? If not, can you tell me another way how to make the controls all line up the same. (I do know when I worked with pure HMTL in year 2000, all the HTML controls were embedded within the same table
In the past using tables for alignment was the only method available. Now, however, CSS is being used for tableless design. This is one place to start but there are many more resources available Tableless layout HOWTO[^]
No comment
-
I am adding some new pages to an existing C# asp.net 2010 web forms website. Due that that fact and I am new to web design but how desktop expereince, I have the following question: On the exsiting web pages, most of the controls are embedded in a web table control. I am guesing this is occuring so all the web form controls are aligned correctly. Is that the only way to make the various controls line on correctly? If not, can you tell me another way how to make the controls all line up the same. (I do know when I worked with pure HMTL in year 2000, all the HTML controls were embedded within the same table
for alignment take a look at http://960.gs/ or even better if you are interested in using jQuery and want an adaptive display you can read about the following about an awesome jQuery plugin that this really great developer I know posted. ;) A jQuery plugin for an Adaptive 960 Grid System
who better the shamelessly promote other than yourself?
-
I am adding some new pages to an existing C# asp.net 2010 web forms website. Due that that fact and I am new to web design but how desktop expereince, I have the following question: On the exsiting web pages, most of the controls are embedded in a web table control. I am guesing this is occuring so all the web form controls are aligned correctly. Is that the only way to make the various controls line on correctly? If not, can you tell me another way how to make the controls all line up the same. (I do know when I worked with pure HMTL in year 2000, all the HTML controls were embedded within the same table
Hi, Nowadays to get a best web page layout that is not only easy to render on client side but also easier to design, is to actually avoid tables and use something like divs (or
). This element can align your entire page like magic! As you can see in my example i have put in place a simple but yet handy attribute to the div, "style". The style attribute will help you style your div (oh div stands for "division", a division on your page), and for the sake of alignment in my example i have put float:left, you could also have float:right or simply don't put the float and the browser will decide where to place your division(s) when rendered. There are many styles you can put such as margin, padding, text-align, background, color....and much more! This comes with the power and magic of CSS! Get a hard start on this topic, css: http://www.csstutorial.net/[^] This all you need to giveup tables on your pages. Happy coding, Morgs