Forum Moderators: open

Message Too Old, No Replies

Nested Tables - impact on SEO

What is the impact nested tables have on SEO?

         

Tvienti

6:16 pm on Nov 29, 2005 (gmt 0)

10+ Year Member



I'd love to get some insight on the impact of nested tables on SEO. As I understand it, they offer two main drawbacks:

1) Pushes down visible content, wastes space in the top of the code, which may be all the spiders are interested in.

2) Decreases visibility ratio

I'm curious if these are both accepted as fact, if there are other reasons, and just how important the community finds these issues to be. In particular, I'm curious if it's generally worth it to restructure an existing website using CSS instead of nested tables, or if it's a small enough detail that it can be tabled until the next redesign.

Thanks in advance for any insight you can offer

T

monkeythumpa

7:21 pm on Nov 29, 2005 (gmt 0)

10+ Year Member



Unless your code is really bad/old, extra code shouldn't be a problem. What the nested tables could do is make the spiders work harder to find the good stuff. Google just increased the size of page they crawl before they move on am I am sure the other SEs will as well so unless your page is huge, it shouldn't be a problem either.

Nested tables should not impact SEO effforts as long as they validate and there is a sensible amount of nesting.

tedster

7:28 pm on Nov 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nested tables can also break the semantic connections between various parts of the text -- affecting word proximity and so on. What you see as meaningfully connected on the monitor may be wideyl separated in the source code.

Now, you can also break these semantic connections with absolutely positioned divs, but the problem is a lot less frequent or likely with a CSS-P layout.

rocknbil

2:19 am on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As one who **still** uses tables now and then - okay, pretty regularly - you should still try to avoid nesting tables as this is forbidden to pass section 503 accessibility guidelines. If you must use tables,

1) Structure them so that a reader parses the table in a logical order(reader being software that reads the page aloud to the viewer, who may be blind.) Ordinarily this is begins at the top row, reads across the cells (td's) then moves to the next row. If you use the table tricks to push content to the top that ordinarily wouldn't appear at the top for SEO purposes, this will most likely fail a 503 review.

2) Use the summary attribute for all tables (<table summary="layout table"> )

3) Don't nest tables within tables. If a situation arises where you actually have to use tablular data, you will have to rethink the page layout so that the table exists within divs, using CSS to control the presentation.

There are many more 503 accessibility guidelines - the most common violations being table usage and the absence of the alt tag for images - but the biggest hurdle for a the table-layout handicapped webmaster is figuring to how to avoid nested tables.

topsites

11:17 pm on Dec 4, 2005 (gmt 0)



As a self-proclaimed table expert, I use nothing but tables for my site and find nothing works better, but that's just me :)

Now, in my experience there is never a need for nesting a table. Thou it takes some doing and it fairly cracks the brain at some stage, I have found it is ALWAYS possible to do with a simple table what has been done with nesting.

Whether nesting has an impact on se's is arguable but that it slows down load-times is not a question. Not only is it more code but it also adds the equivalent of a 'loop' to the program, for those familiar with the term.

Another way to say it is, a browser HAS to read the entire table before it can render any part of it, meaning nothing shows until everything has been processed. With a simple table things are slow enough at times, but with a nested table the browser first has to read and process the inner-most table then work its way outwards and only by the time it has finished the outer-most table is it ready for display.

For an example of what I mean by simple tables, my home page is all ONE table, it is a matter of colspan and rowspan and thinking about it for a bit.

[edited by: tedster at 11:37 pm (utc) on Dec. 4, 2005]

Tvienti

5:05 pm on Dec 5, 2005 (gmt 0)

10+ Year Member



Thanks for the advice, all. =)

tedster

5:24 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



it is a matter of colspan and rowspan and thinking about it for a bit.

Agreed -- I once spent an entire afternoon experimenting with tables and their attributes. By dinner, I understood all kinds of things in a new way. Fortunately, basic table cells and their attributes are consistent cross--browser. For this reason alone, I reverted to a basic table for layout after I created 5 pure-CSS layout websites.

Now, within the table, I do not nest tables -- I use CSS all the way and I write validated and strict html or xhtml. But the basic "framework" for the page is a table layout. You see, I do not re-use page templates from client to client, and so each website is a customized development. Today's browser chaos in CSS-P makes pure CSS development too time consuming for customized production work, IMO, and I don't want to be leaving an obvious footprint on everything I develop by re-using a proven template.

However, I love the idea of pure CSS and certainly hope the future makes the approach more practical. I understand that layout tables are essentially a "hack" -- but just look at all the many hacks required to get a CSS layout happening!