473,513 Members | 2,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tables for layout bugs question

Can anyone tell us the browsers/versions that exhibit errors
when tables are nested too deeply? And how many levels of
nesting produces errors?

(not a tables vs CSS question)

Nov 1 '06 #1
15 2130
Gary Peek <my********@mycompanyname.comwrote:
>Can anyone tell us the browsers/versions that exhibit errors
when tables are nested too deeply? And how many levels of
nesting produces errors?
You are confused, using tables for layout causes problems, not errors.
>(not a tables vs CSS question)
But it is.

--
Spartanicus
Nov 1 '06 #2
On Wed, 01 Nov 2006 14:58:05 +0000, Spartanicus
<in*****@invalid.invalidwrote:
>>Can anyone tell us the browsers/versions that exhibit errors
when tables are nested too deeply? And how many levels of
nesting produces errors?

You are confused, using tables for layout causes problems, not errors.
>>(not a tables vs CSS question)

But it is.
So, what you're saying is you don't have an answer to his question. :/

--
Zilbandy - Tucson, Arizona USA <zi*@zilbandyREMOVETHIS.com>
Dead Suburban's Home Page: http://zilbandy.com/suburb/
PGP Public Key: http://zilbandy.com/pgpkey.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Nov 1 '06 #3
Zilbandy <zi*@zilbandyREMOVETHIS.comwrote:
>>>Can anyone tell us the browsers/versions that exhibit errors
when tables are nested too deeply? And how many levels of
nesting produces errors?

You are confused, using tables for layout causes problems, not errors.
>>>(not a tables vs CSS question)

But it is.

So, what you're saying is you don't have an answer to his question. :/
What you are demonstrating is that you've not understood neither the
question, the answer, or usenet. Oh well.

--
Spartanicus
Nov 1 '06 #4
Spartanicus wrote:
You are confused, using tables for layout causes problems, not errors.
Very, well, can anyone tell us the browsers/versions that exhibit
problems when tables are nested too deeply? And how many levels of
nesting produces these problems?

Nov 1 '06 #5
Gary Peek <my********@mycompanyname.comwrote:
>You are confused, using tables for layout causes problems, not errors.

Very, well, can anyone tell us the browsers/versions that exhibit
problems when tables are nested too deeply? And how many levels of
nesting produces these problems?
Using a table for layout purposes causes problems in all browsers,
nesting tables makes it worse.

Search the archives of this group and it's stylesheet sister group to
find out what problems (it's been discussed at length at least a few
hundred times before).

--
Spartanicus
Nov 1 '06 #6
VK
Very, well, can anyone tell us the browsers/versions that exhibit
problems when tables are nested too deeply? And how many levels of
nesting produces these problems?
Are you having some problems, expecting some problems or just curious?
One day many years ago - being bored and in a bad mood - I managed to
hang up NN4.5 on 8th level. But as I forced a Flash movie in the
top-right cell of each table that experiment was not clear. :-)

Purely theoretically I wouldn't expect problems at least until 32-bit
overflow which means 4,294,967,295 nested tables. But the chances are
high that long before that it will trig UA's AID (Anti-Idiot Defence
:-). With the modern DOM methods you can easily conduct an "on denial"
test yourselve by dynamically generating and inserting tables onto your
page.

Nov 1 '06 #7
VK wrote:
Are you having some problems, expecting some problems or just curious?
One day many years ago - being bored and in a bad mood - I managed to
hang up NN4.5 on 8th level.
Somewhat out of curiosity, but I was playing around with a
nested table layout, example at:
http://www.garypeek.com/web/tablemadness.htm

I had heard that some older browsers choked on things like this,
but what wondering how deep it had to be to cause this.

I'm not planning on using something this deep, but I don't
have any heartburn using something less complicated.

Do you think I'll piss off anyone if I ask how far down the
text needs to be before the search engines won't find it? :)

Nov 1 '06 #8
On 2006-11-01, VK <sc**********@yahoo.comwrote:
>Very, well, can anyone tell us the browsers/versions that exhibit
problems when tables are nested too deeply? And how many levels of
nesting produces these problems?

Are you having some problems, expecting some problems or just curious?
One day many years ago - being bored and in a bad mood - I managed to
hang up NN4.5 on 8th level. But as I forced a Flash movie in the
top-right cell of each table that experiment was not clear. :-)

Purely theoretically I wouldn't expect problems at least until 32-bit
overflow which means 4,294,967,295 nested tables.
You could get problems much sooner than that if the table formatter
implementation is recursive (and doesn't have an AID). Eventually you
will run out of stack space.
But the chances are high that long before that it will trig UA's AID
(Anti-Idiot Defence
:-). With the modern DOM methods you can easily conduct an "on denial"
test yourselve by dynamically generating and inserting tables onto your
page.
This would be a good test to try, since a stack overflow is a security
vulnerability.
Nov 1 '06 #9
VK
Somewhat out of curiosity, but I was playing around with a
nested table layout, example at:
http://www.garypeek.com/web/tablemadness.htm
It's appropriately named "tablemadness" so I hope you didn't take it as
a design idea of any kind ;-)
I had heard that some older browsers choked on things like this,
but what wondering how deep it had to be to cause this.
Well, at the time of Browser Wars the speed and the reliability in
rendering table cells was one of major promo points of both Netscape
and Microsoft. There were special table test suites consisting of
hundreds colored cells in multi-nested tables and both periodically
organized a la Formula-1 races :-) by watching how quickly their
browser will fill the page if the competitor chocks on it or behind.
The results (if beneficial) were proudly announced on the company site.
Crazy times :-) Anyway I would say that the hardest way to nock out any
of post-war browsers is by using tables. All lesser-effective
algorithms were sorted out and eliminated long time ago.
I'm not planning on using something this deep, but I don't
have any heartburn using something less complicated.
If you decide for some reason to use table layouts, your heartburn has
to start automatically on the third level and should not be remedied by
any pils but only by re-thinking your layout. :-) :-|
The only exception is if you are a QA tester in a browser making
company.
Do you think I'll piss off anyone if I ask how far down the
text needs to be before the search engines won't find it? :)
As down as it's needed to find a long enough continuous text. How long
- that is engine specific, I don't know.

Nov 1 '06 #10
On Wed, 01 Nov 2006 15:33:34 +0000, Spartanicus
<in*****@invalid.invalidwrote:
>>>You are confused, using tables for layout causes problems, not errors.

(not a tables vs CSS question)

But it is.

So, what you're saying is you don't have an answer to his question. :/

What you are demonstrating is that you've not understood neither the
question, the answer, or usenet. Oh well.
About his question: His question dealt with nesting tables and not
with CSS.

About your answer: Tables can cause problems . . . ok, I'll agree.
However, tables, whether politically correct in today's preferred web
page layout, are still a part of many web pages. Your reply to his
question, although technically correct, was totally useless.

About my knowledge of Usenet: I'm an average PC user who has been
using Usenet since about 1995. Whether I understand ALL there is to
know about Usenet is not the issue; to that, the answer is no.
However, I'm not a total "newbie" to its concept or its use. Oh, by
the way, Usenet should be spelled starting with a capital letter, so I
guess you're not quite the total "know it all" you believe you are. Oh
well.

--
Zilbandy - Tucson, Arizona USA <zi*@zilbandyREMOVETHIS.com>
Dead Suburban's Home Page: http://zilbandy.com/suburb/
PGP Public Key: http://zilbandy.com/pgpkey.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Nov 2 '06 #11
Zilbandy <zi*@zilbandyREMOVETHIS.comwrote:
>>What you are demonstrating is that you've not understood neither the
question, the answer, or usenet. Oh well.

About his question: His question dealt with nesting tables and not
with CSS.
Take the false assumption out of the question and the real question the
OP asked was about HTML table vs so called "CSS layouts", this does
however require a capacity to see beyond the question as phrased.
>About your answer: Tables can cause problems . . . ok, I'll agree.
However, tables, whether politically correct in today's preferred web
page layout, are still a part of many web pages. Your reply to his
question, although technically correct, was totally useless.
Answering a question that is based on a false premise not only doesn't
help anyone, it creates confusion. The useful thing to do is to point
out the erroneous assumption. This is good communication practice, also
on usenet, especially in this hierarchy.

--
Spartanicus
Nov 2 '06 #12
Spartanicus wrote:
Zilbandy <zi*@zilbandyREMOVETHIS.comwrote:
>Spartanicus wrote:
>>What you are demonstrating is that you've not understood neither the
question, the answer, or usenet. Oh well.
>About his question: His question dealt with nesting tables and not
with CSS.
Take the false assumption out of the question and the real question the
OP asked was about HTML table vs so called "CSS layouts",
Actually, he not only didn't ask about CSS, he explicitly stated that he
*wasn't* asking about 'HTML table vs so called "CSS layouts"':

: Can anyone tell us the browsers/versions that exhibit errors when
: tables are nested too deeply? And how many levels of nesting produces
: errors?
:
: (not a tables vs CSS question)

Compare the last line with the last of your lines quoted above.

Pete
Nov 2 '06 #13
On Thu, 02 Nov 2006 17:20:08 +0000, Spartanicus
<in*****@invalid.invalidwrote:
>>About his question: His question dealt with nesting tables and not
with CSS.

Take the false assumption out of the question and the real question the
OP asked was about HTML table vs so called "CSS layouts", this does
however require a capacity to see beyond the question as phrased.
So, if I ask how deep I can nest tables, your answer will be to use
Cascading Style Sheets? Maybe the misunderstanding has to do with
which side of the pond we live on. :) I'm done with this topic.

--
Zilbandy - Tucson, Arizona USA <zi*@zilbandyREMOVETHIS.com>
Dead Suburban's Home Page: http://zilbandy.com/suburb/
PGP Public Key: http://zilbandy.com/pgpkey.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Nov 2 '06 #14
Zilbandy <zi*@zilbandyREMOVETHIS.comwrote:
>>Take the false assumption out of the question and the real question the
OP asked was about HTML table vs so called "CSS layouts", this does
however require a capacity to see beyond the question as phrased.

So, if I ask how deep I can nest tables, your answer will be to use
Cascading Style Sheets?
I would answer that it is rarely appropriate to nest tables if used for
their intended purpose, that the question suggests that tables are being
used inappropriately, that this causes problems and that the real
solution is to stop doing that.

If you asked how to shoot yourself through the foot, I'd tell you that
doing so is not smart, not explain how to load the gun. This is a time
honoured tradition by the knowledgable regulars in this hierarchy.

--
Spartanicus
Nov 2 '06 #15
Zilbandy <zi*@zilbandyREMOVETHIS.comwrites:
On Thu, 02 Nov 2006 17:20:08 +0000, Spartanicus
Take the false assumption out of the question and the real question the
OP asked was about HTML table vs so called "CSS layouts", this does
however require a capacity to see beyond the question as phrased.

So, if I ask how deep I can nest tables, your answer will be to use
Cascading Style Sheets? Maybe the misunderstanding has to do with
which side of the pond we live on. :) I'm done with this topic.
I've seen table layout (as in the process of laying out a table, not
the use of a table or tables to layout a page) have (minor but
visually ugly) bugs in all modern graphical browsers, for a
sufficiently complex data table [1] with no nesting at all and
entirely valid HTML code. If there are bugs at nesting depth 0, then
it obviously follows that there are also bugs at all greater nesting
depths.

All complex tables are going to have layout bugs, at the
extremes. Nesting makes it more likely that the complexity will pass
the 'critical point'. So, for example, the table generated by the
pseudocode:
for i in [1..10000] {
print ("<table><tr><td>");
}
print ("Content");
for i in [1..10000] {
print ("</td></tr></table>");
}
is likely to have bugs (despite all individual tables involved being simple)

Conversely, a sufficiently complex table can have bugs with no nesting
at all.

So your question is unanswerable. (In practice, there's no need to
nest tables at all in the vast majority of situations, and no need to
nest them more than one level deep in the extremely small minority
remaining, so that's not a major problem)

[1] colspans on almost every cell in most rows, and two columns per
month over a 10+ year period.
For the extremely small 'intranet-like' audience who were interested
in the data, it was the best way to present it. Of course, I'd
recommend for general web use breaking the table down into several
two smaller ones - maybe one per year.

--
Chris
Nov 3 '06 #16

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

Similar topics

44
3830
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
8
2785
by: Millissa | last post by:
If someone can help me with examples of or info on how to create an advanced tables for the layout on my site, I would be very grateful! Thanks, M
12
1736
by: C.W | last post by:
Not sure if I should but this is what I have: 3 x 3 table grid. You click on a square and it places a picture in i using Javascript. Fairly simple stuff, each table <td> has a name attribute...
7
1901
by: glutinous | last post by:
I've looked at manuals and experimented until my brain's oozing out of my ears, and I still can't figure out what I anticipate will prove to be fairly basic css layout knowledge. I'd be amazed if...
7
4901
by: Wilhelm Kutting | last post by:
Hi again i want to replace the following layouttabel with css/xhtml: ---------------------------------- <table width="640" cellspacing="0"> <tr> <td valign="top">My Title</td> <td...
53
4158
by: Alan Silver | last post by:
Hello, I understand the issue that tables should be used for tabular data and not for layout, but I would like some clarification as to exactly what constitutes tabular data. For example, if...
10
9174
by: Luke | last post by:
Hi. I am trying to make correct layout, here is an example of (dynamically generated content via jsp): http://localhost/www/layout.htm Most outer div is positioned absolute (if not then it...
14
4815
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
32
2690
by: Simon Dean | last post by:
Duh... Not another one... Hopefully simple though, I hate the way *I* (and it might be a CSS trait) can't intermix fixed width divisional elements with a variable auto expanding div??? The...
0
7264
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
7543
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...
1
7106
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
7534
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...
0
5689
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5094
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3226
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
805
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.