473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Designing Layout Question!!

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
Feb 28 '07 #1
3 1235
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.

--
Milosz
"Vai2000" wrote:
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
Mar 1 '07 #2
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
"Vai2000" <no****@microsoft.comwrote in message
news:uj*************@TK2MSFTNGP05.phx.gbl...
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


Mar 1 '07 #3
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=-...8&z=17&l=0&m=h
"Vai2000" <no****@microsoft.comwrote in message
news:uj*************@TK2MSFTNGP05.phx.gbl...
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


Mar 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alex Bell | last post by:
I'm in the very early stages of designing what I hope will be a two column (menu+content) layout. I hope that the menu column will remain fixed in other than MSIE browsers while the content...
7
by: James Thornton | last post by:
I'm trying to make the transition from tables to CSS, and I need someone to explain how to achieve the following layout (understanding the concepts behind this layout will help me considerably in...
9
by: WeshaTheLeopard | last post by:
Hi all, I have to admit that I'm completely at loss trying to implement the following layout: +-----------document---------+ | | | +--box1---+ +--box2---+ |...
10
by: Volker Lenhardt | last post by:
For a QApplication (PyQt) on the small screen of my Zaurus 5500 PDA I try to layout my data output in a QScrollView as the central widget. I'd prefer to use QGridLayout, but cannot add it to the...
1
by: Leroy | last post by:
I'm trying to implement a site whereby administrators can setup a layout for a webpart site that affects all users, then individual users can personalize their pages. I have configured the site...
1
by: mouac01 | last post by:
How do I get a label to be on top of a text field? <label>Login:<input type="text" name="login"></label> <label>Password:<input type="password" name="password"></label> generates this... ...
3
by: Daniel | last post by:
Hey guys, I last made a site using Asp.net in vis studio 2003. Now in 2005 and .net 2 i want to make anothe rbut i cant get the layour working. Before i used to make eveyrhting position...
28
by: kyle york | last post by:
Greetings, Why does the C standard require the members of a structure not be re-ordered (6.2.5.20)? Padding is allowed, and platform dependent, which means one cannot rely on the exact layout...
5
by: Ed Sproull [MSFT] | last post by:
First I'm pretty new to ASP.NET and I'm having a simple problem. I have small website with a header, sidebar and the the content. I want my content to appear beside my sidebar which seems to be a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.