Designing Layout Question!!

V

Vai2000

Hi All, I am coming from old school web-design so prefer table layout. I see
people using div just everywhere...? Why aren't they using tables? which is
better? esp. when u have objects custom controls, grid views etc....to drop
on pages..


TIA
 
G

Guest

Howdy,

Table are reliable and easy to understand, but they take more space in html
document. Use of divs make HTML document clearer and provides possibility to
position things from css style sheet. Unfortunately you need to understand
floating (float and clear CSS properties) to use them properly. There are
also several things that are difficult to accomplish with floating divs and
can be successfully implemented with tables (I.e. non-wrapping blocks). In my
humble opinion, there’s no pressure to switch to floating divs (unless your
boss says otherwise). If you are able to use them properly, use them, if not
apply tables.
 
E

Eliyahu Goldin

This topic has been discussed in length in this newsgroup several times. The
general conclusion is if you are a developer, tables let you produce a
robust design quickly and concentrate on your programming tasks. If you are
more a designer, you can achieve more with divs provided you have managed to
understand them well.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
 
C

clintonG

Using tables in HTML for page layout became common simply because there was
no other reasonable way to control layout of the page in the early days but
in practice those that continue to use tables for non-tabular page layout
are no different than the morons that continue to use Excel as a database.

If you understand and accept that you know why you should learn and adopt
the use of CSS which enables HTML elements on the page to become
semantically correct enabling the developer to maintain complete control of
the entire page and all of its HTML elements.

Because ASP.NET controls continue to generate tables does not mean the
controls were developed well. Hence the release of the CSS Friendly Control
Adapters which really aren't so friendly but they do help an awful lot and
the couple that developed them independently should be given a freakin'
medal.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-88043838&z=17&l=0&m=h
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top