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 21 8109
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/
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/
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 "application/octet-stream" in MIME.
Both have no meaning.
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 "application/octet-stream" in MIME.
Both have no meaning.
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 "application/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/>
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 "application/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/>
Mel me**********@ssa.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
Mel me**********@ssa.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
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/
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/
Mel scribbled something along the lines of: 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
The question is not "DIV or TABLE?".
Tables serve as a tool for presenting tabular data. DIVs serve as a
supplement for non-existent block level elements, i.e. you use them
where no other block level element would make sense.
Tables were never intended for presentation. CSS 3 provides some column
functionality (for any block level element) which is similar to the
layout used in newspapers and flyers though.
You should try to avoid tabular layout -- if it is needed, provide it
with CSS, the way it's meant to be.
Where p doesn't make sense because it's not a paragraph, table doesn't
make sense because it's not tabular data, a list doesn't make sense
because it isn't one and a blockquote doesn't make sense because it's
not a quote [and so on], that's where divs come into play.
DIVs are meant to be used as container elements to allow a certain way
of laying out the content in a graphical browser and to group content to
which certain styling should be applied, but which have no semantic
relationship which could be described using other block level elements.
I would suggest reading up some up-to-date info on (X)HTML and CSS.
--
Alan Plum, WAD/WD, Mushroom Cloud Productions http://www.mushroom-cloud.com/
Ashmodai wrote: Mel scribbled something along the lines of: 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 ?
[snip] The question is not "DIV or TABLE?". Tables serve as a tool for presenting tabular data. DIVs serve as a supplement for non-existent block level elements, i.e. you use them where no other block level element would make sense.
Tables were never intended for presentation. CSS 3 provides some column functionality (for any block level element) which is similar to the layout used in newspapers and flyers though.
Right from their start in about 1993, tables were intended, inter alia, for
laying out complex material in rows & columns.
I suspect that, at that time, people didn't think of layout as presentation.
Besides, it was to be a number of years before CSS appeared, so it was
academic anyway - HTML was the *only* way of achieving presentation!
You should try to avoid tabular layout -- if it is needed, provide it with CSS, the way it's meant to be.
Some people, with no official standing whatsoever, say that. It is better to
look at the recommendations.
Where p doesn't make sense because it's not a paragraph, table doesn't make sense because it's not tabular data, a list doesn't make sense because it isn't one and a blockquote doesn't make sense because it's not a quote [and so on], that's where divs come into play.
But who, other than the author or the audience, is qualified to make a
judgement on an of these? The HTML recommendation doesn't require that authors
submit their mark-up to scrutiny by linguistic experts.
If an author marks-up something as <p>...</p>, that isn't an invitation for
the web infrastructure to determine whether that is a true paragraph. It is a
simple statement: "please treat this as a paragraph, and do with it whatever
is appropriate for a paragraph". Ditto table, list, blockquote, etc.
<div> tends to make most sense as a container of other elements (plural) for
which some overall rule is to be applied.
DIVs are meant to be used as container elements to allow a certain way of laying out the content in a graphical browser and to group content to which certain styling should be applied, but which have no semantic relationship which could be described using other block level elements.
They can be *used* for that. Whether they were *meant* for that is a different
matter.
I believe <div> appeared (perhaps mid 1996?) before CSS became a
recommendation (end 1996).
I would suggest reading up some up-to-date info on (X)HTML and CSS.
"A brief history of tables" http://www.barry.pearson.name/articl...es/history.htm
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
Barry Pearson scribbled something along the lines of:
<snip/> You should try to avoid tabular layout -- if it is needed, provide it with CSS, the way it's meant to be.
Some people, with no official standing whatsoever, say that. It is better to look at the recommendations.
Which I did.
Read my reply to the table thread <c5*************@news.t-online.com>.
<snip/> I would suggest reading up some up-to-date info on (X)HTML and CSS.
"A brief history of tables" http://www.barry.pearson.name/articl...es/history.htm
That is not up-to-date info on (X)HTML.
--
Alan Plum, WAD/WD, Mushroom Cloud Productions http://www.mushroom-cloud.com/
Quoth the raven named Barry Pearson: Right from their start in about 1993, tables were intended, inter alia, for laying out complex material in rows & columns.
Is "inter alia" your word(s) of the day? Why not just say "among other
things?" I have never before heard your phrase used in normal
non-academic English conversation.
"laying out complex material in rows & columns"
You're probably the only one left who feels that "complex material"
means presentation, rather than content.
--
-bts
-This space intentionally left blank.
Beauregard T. Shagnasty scribbled something along the lines of: Quoth the raven named Barry Pearson:
Right from their start in about 1993, tables were intended, inter alia, for laying out complex material in rows & columns.
Is "inter alia" your word(s) of the day? Why not just say "among other things?" I have never before heard your phrase used in normal non-academic English conversation.
I'd say he just read that phrase this morning and found it quite catchy
so he just likes to use it now.
I heard Americans and British have a strange fascination with foreign
language phrases.
Carpet diet or how they say. =P
--
Alan Plum, WAD/WD, Mushroom Cloud Productions http://www.mushroom-cloud.com/
Beauregard T. Shagnasty wrote: Quoth the raven named Barry Pearson:
Right from their start in about 1993, tables were intended, inter alia, for laying out complex material in rows & columns. Is "inter alia" your word(s) of the day? Why not just say "among other things?" I have never before heard your phrase used in normal non-academic English conversation.
I've used it for many years, and seen it used for many years.
If it confused you, I apologise.
"laying out complex material in rows & columns"
You're probably the only one left who feels that "complex material" means presentation, rather than content.
I don't feel that. I feel that "complex material" means "complex material".
Please don't make up false statements about what I feel.
Raggett said in 1993: "Cells may contain, text, multiple paragraphs, lists and
headers". "Paragraphs can include the following: ... Images which act as
single characters and which can be vertically aligned relative to the text
line in which they are embedded ... Hypertext Links based on the URL or URN
notations". http://www.w3.org/MarkUp/HTMLPlus/htmlplus_1.html
That sounds like "complex material". And it got even more complex in 1997,
when nested tables were included. http://www.w3.org/TR/REC-html32#table
I'll repeat my statement that is under discussion here: "Right from their
start in about 1993, tables were intended, inter alia, for laying out complex
material in rows & columns".
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
Quoth the raven named Barry Pearson: Beauregard T. Shagnasty wrote:
Quoth the raven named Barry Pearson:
Right from their start in about 1993, tables were intended, inter alia, for laying out complex material in rows & columns.
Is "inter alia" your word(s) of the day? Why not just say "among other things?" I have never before heard your phrase used in normal non-academic English conversation.
I've used it for many years, and seen it used for many years.
If it confused you, I apologise.
No, it didn't confuse me. "laying out complex material in rows & columns"
You're probably the only one left who feels that "complex material" means presentation, rather than content.
I don't feel that. I feel that "complex material" means "complex material". Please don't make up false statements about what I feel.
Ok, my turn to apologize.
You're probably the only [regular poster] left [in these groups] who
feels that "complex material" [includes] presentation <strike>, rather
than content</strike>.
<snip rest of boilerplate>
--
-bts
-This space intentionally left blank.
Beauregard T. Shagnasty wrote: Quoth the raven named Barry Pearson:
[snip] You're probably the only [regular poster] left [in these groups] who feels that "complex material" [includes] presentation <strike>, rather than content</strike>.
[snip]
I haven't a clue what that statement means!
I suggest you don't try to state what I feel without first checking what I
feel. It is unlikely that you will be correct, and I assume you don't want to
post inaccurate statements.
--
Barry Pearson http://www.Barry.Pearson.name/photography/ http://www.BirdsAndAnimals.info/ http://www.ChildSupportAnalysis.co.uk/
Barry Pearson scribbled something along the lines of: Beauregard T. Shagnasty wrote:
Quoth the raven named Barry Pearson:
[snip]
You're probably the only [regular poster] left [in these groups] who feels that "complex material" [includes] presentation <strike>, rather than content</strike>.
[snip]
I haven't a clue what that statement means!
I suggest you don't try to state what I feel without first checking what I feel. It is unlikely that you will be correct, and I assume you don't want to post inaccurate statements.
He's suggesting you are the only person here thinking that "complex
material" may include presentation(al markup).
--
Alan Plum, WAD/WD, Mushroom Cloud Productions http://www.mushroom-cloud.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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
...
|
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...
|
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...
|
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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |