473,796 Members | 2,522 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is DIV really better than TABLE ?

Mel
i see a lot of stuff going back and forth, tables are easy to use and do
exactly what the name says it does ROWS/COLUMNS

what is a GOOD reason to use DIVs instead ?

thanks
Mel
Jul 20 '05 #1
21 8151
Mel wrote:
i see a lot of stuff going back and forth, tables are easy to use and
do exactly what the name says it does ROWS/COLUMNS

what is a GOOD reason to use DIVs instead ?


If you think of it as either / or, one instead of the other, you are missing a
major opportunity.

Each has advantages & disadvantages, and sometimes one is best, sometimes the
other. And in combination you can sometimes do things that would be harder
with just one of them.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
Mel wrote:
i see a lot of stuff going back and forth, tables are easy to use and
do exactly what the name says it does ROWS/COLUMNS

what is a GOOD reason to use DIVs instead ?


If you think of it as either / or, one instead of the other, you are missing a
major opportunity.

Each has advantages & disadvantages, and sometimes one is best, sometimes the
other. And in combination you can sometimes do things that would be harder
with just one of them.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #3
On Thu, 15 Apr 2004, Mel wrote:
what is a GOOD reason to use DIVs instead ?


No good reason.
<DIV> in HTML is just as bad as "applicatio n/octet-stream" in MIME.
Both have no meaning.

Jul 20 '05 #4
On Thu, 15 Apr 2004, Mel wrote:
what is a GOOD reason to use DIVs instead ?


No good reason.
<DIV> in HTML is just as bad as "applicatio n/octet-stream" in MIME.
Both have no meaning.

Jul 20 '05 #5
Andreas Prilop wrote:
On Thu, 15 Apr 2004, Mel wrote:
what is a GOOD reason to use DIVs instead ?

No good reason. <DIV> in HTML is just as bad as "applicatio n/octet-stream" in MIME.
Both have no meaning.


Of course application/octet-stream is better then text/html when the data
being sent is a windows executable file.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #6
Andreas Prilop wrote:
On Thu, 15 Apr 2004, Mel wrote:
what is a GOOD reason to use DIVs instead ?

No good reason. <DIV> in HTML is just as bad as "applicatio n/octet-stream" in MIME.
Both have no meaning.


Of course application/octet-stream is better then text/html when the data
being sent is a windows executable file.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #7
Mel me**********@ss a.gov wrote:
i see a lot of stuff going back and forth, tables are easy to use and do
exactly what the name says it does ROWS/COLUMNS

what is a GOOD reason to use DIVs instead ?


because you can do a LOT more than you can with tables and you can do it
with far less effort once you've learned the basics of css

--
eric
www.ericjarvis.co.uk
we don't need to make things idiot-proof,
we need to make idiots thing-proof
Jul 20 '05 #8
Mel me**********@ss a.gov wrote:
i see a lot of stuff going back and forth, tables are easy to use and do
exactly what the name says it does ROWS/COLUMNS

what is a GOOD reason to use DIVs instead ?


because you can do a LOT more than you can with tables and you can do it
with far less effort once you've learned the basics of css

--
eric
www.ericjarvis.co.uk
we don't need to make things idiot-proof,
we need to make idiots thing-proof
Jul 20 '05 #9
Mel wrote:
i see a lot of stuff going back and forth,
You mean in ciwah? But you didn't want to comment in those threads? It's
hard to know exactly what you saw.
tables are easy to use and do exactly what the name says it does
ROWS/COLUMNS
Absolutely. Rows using <tr> and columns in <td> (table data) or <th>
(table header). But then, I find most elements easy to use. In fact,
table markup is actually the most difficult to work with, since you must
make sure that each row has the same number of columns. Still, you are
right: it is not difficult to create the markup.
what is a GOOD reason to use DIVs instead ?


Instead? If you have tabular data, you should use table markup. That's
what it's for. Did you mean, "what is a GOOD reason to use DIVs instead
[of tables for layout]?"

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #10

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

Similar topics

6
1463
by: LRW | last post by:
I have a querey formed with a few joins and a lot of fields, and no kidding, it takes up to 2 minutes for the PHP page to poulate with all the results (usually around 300). Now, we have a pretty good server: dual Pentium 4 CPUs and a gig of RAM. And all other queries seem to fly. So there must be something about this querey that must be horribly inefficient and badly written. Can anyone give me any tips on how I can better this?
3
2185
by: Martin Mrazek | last post by:
Hi, I have tables named like ag97a027, ag98a027, ... where 97 and 98 is from year 1997, 1998 and a027 is just specification of product type. I need carry out repeated operataions over these tables. To generate their names is easy, for example use declare @Yint int, @Y char(2), @tabName char(8) set @Yint = 1997 while @Yint < 2002
72
5446
by: Mel | last post by:
Are we going backwards ? (please excuse my spelling...) In my opinion an absolute YES ! Take a look at what we are doing ! we create TAGS, things like <H1> etc. and although there are tools (dreamweaver and the like), they are all at the lowest level of programming (something like assembly as oposed to C++ etc.). These tools create "brain-dead" developers that constantly have to plough through tons of tags to do the simplest thing. ...
9
1571
by: noone | last post by:
I have a database file that I use an autonumber field as the primary key index. Because of some rearrangements in the past, this index does not match the order that I would like it to be in, that is date order. What I would like to do is to eliminated the primary key field (I know how to do this), sort on the date field, and then reindex with a new autonumber field. Every time I try, however, the default sort field left over from the...
4
1526
by: Nip | last post by:
I am trying to make a database for my test participants. I have 10 participants and have a table with them called participants which includes an auto number ID and then the participant number and start date. Now I want to rank these participants. So I have created 3 more tables one is called rankdescription and includes 5 ranking descriptions which all 10 participants will have to rank. The 2nd table is rankdate and includes 8...
3
1964
by: michael | last post by:
Hi, I am trying to write an ASP.NET web app, in Visual Basic.NET, using Visual Studio.NET 2004, .NET framework 1.1.4322 SP1 Running the project/app on localhost while in dev/write/debug stage When I say "trying", I do have it written, and it works ... sort of, for some cases. The problems/issues?
12
1576
by: RICHARD BROMBERG | last post by:
For the last couple of days I have been trying to learn how to solve this problem. I'm using Access 2000 I am posting it again and maybe I will be mofe successful. I have a text box and a table. I want to enter a number into the text box and using this number determine if there is a record in the table with a primary key that matches it.
18
2036
by: Earl Anderson | last post by:
First, I feel somewhat embarrassed and apologetic that this post is lengthy, but in an effort to furnish sufficient information (as opposed to too little information) to you, I wanted to supply all of the relevant facts. Second, despite the fact that I think the obvious 'quick' answer to my question would be 'Yes', I am seeking your wisdom and recommendation to the question as to this particular set of circumstances. I have 20 Security...
0
2197
by: raylopez99 | last post by:
I ran afoul of this Compiler error CS1612 recently, when trying to modify a Point, which I had made have a property. It's pointless to do this (initially it will compile, but you'll run into problems later). Apparently Point is a struct, a value type, and it does not behave like a classic structure (in my mind's eye, and see below). Traditionally I think of a classic structure as simply an object where every member is public. But with...
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9531
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10237
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10187
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.