Forum Moderators: open

Message Too Old, No Replies

Tables Versus Css

Optimise a page

         

malcolmcroucher

7:36 am on Jul 22, 2008 (gmt 0)

10+ Year Member



I have created a page with Css and tables. but now I hear that tables can hurt your site ?

Is this true ?

Regards

Malcolm

Excellira

4:14 pm on Jul 22, 2008 (gmt 0)

10+ Year Member



If you had asked this question prior to the development of the site I’d have answered that you should develop layout without tables. The thinking is that by eliminating code bloat the SEs, which are very busy these days (~20 billion or so pages in Google), will stand a better chance of reading your content rather than wading through your styling and structure.

If your styling is CSS-based and you’ve moved the CSS, JS, etc to an external file(s) then you are eliminating most of the common code bloat issues. A few tables probably won’t cause concern (I’m assuming that your table usage is not excessive).

Would I recommend you change the site at this point? I’d have to look at the site before making that determination but probably not. With the exception of a few elements (content and title tag for example) I feel that SEO is a battle of inches. Usually one single element does not make or break the typical site. However, each tactic you utilize increases the tolerance stack to your benefit. As with almost all SEO, most of us can drum up examples of where this is also not true.

caveman

4:24 pm on Jul 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hehe. Have a look at the code on this site. ;-)

Excellira

4:47 pm on Jul 22, 2008 (gmt 0)

10+ Year Member



Good example! WW is has great content and a large community. Both out gun many (all?) other elements.

Though I would have to say that WW gained traction when table layout was the standard.

As an aside, I always find it interesting when I see the tactics utlized on mature sites owned by enterprises with mass-media budgets. "Big" sites get away with more than small sites.

caveman

11:18 pm on Jul 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That wasn't exactly my point. ;-)

It's a fallacy that table code in any way harms rankings. The SE's don't give a whoot. As long as the code it tight, sparse and absent bloat, as it the case on this site, the site has nothing to worry about.

Granted, these days given the choice I'd go CSS ... but more because I have some vague belief that my flexibility into the future is going to be greater as a result.

I'm also a believer in SEO being a game of inches, especially in very competitive categories. But this issue is into a game of millimeters (again, as long as the code is tight). When this first became a topic of conversation years ago, we decided to split the launch of some new sites and introduce half with css, half with tables. We also made an effort to split them up so that similar sites were launched both ways. There will never be a perfect real world test for something like this, but after years of staring at the results, if I can't see a difference in the rankings between the two that I could correlate to code choices, and so I long ago stopped caring. Gimme a good programmer who blends code over a CSS purist any time.

Theory is great. Real world experience is always better.

Swanny007

12:15 am on Jul 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's my understanding that spiders ignore certain tags. When you think about it, it does make sense to crawl a page and immediately ignore <html> <body> <table>, etc. No reason to index that stuff. It's content that counts.

My largest site uses tables for layout and ranks well in it's niche. I think quality, unique content outranks the css vs tables debate.

caveman

12:55 am on Jul 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are hundreds of things that go into ranking and quality content is a huge factor for both direct/on-page reasons and indirect/off-site reasons.

To be clear, the point I was trying to make is simply that this tables vs. CSS debate is such a small element in the overall picture.

If one has their content pushed way down in the code because of bad coding, that is a different matter. CSS sites do tend to get the content higher, but that is less a tables issue than an overall bad coding issue on tables sites.

As Excellira suggests, we also work to eliminate non-essential code from the source page. That's really the main point. Keep it clean and lean and you'll be fine.

Excellira

1:20 am on Jul 23, 2008 (gmt 0)

10+ Year Member



Caveman, it seems we are actually in agreement. And, you beat me to it but my next arguments for tableless were:

* Page load can affect rankings (back button - millimeters again)
* Code to content ratio & dup content
* Positioning of content within the HTML flow
* KW prominence

Inches and more inches.

Also, the WW site, while it does use table layout, has some fairly lean code. In that case, as I stated originally, it probably wouldn't be worthwhile spending the time, at least at this point, to correct it. I suspect however that if WW were redesigned tomorrow that CSS would be utilized and tables would be used for tabular data.

So, even though I'm a noob on WW, thanks for the great dialog and your support on the forum.