Welcome to WebmasterWorld Guest from 54.205.75.60

Forum Moderators: mademetop

Message Too Old, No Replies

Site Design

nested tables or css?

   
12:36 pm on Mar 14, 2006 (gmt 0)

5+ Year Member



From an SEO perspective are fixed sites built with divs or liquid built with nested tables and clear/spacer gif's better?
2:30 am on Mar 16, 2006 (gmt 0)

10+ Year Member



Hi Jamie.

CSS is the better option for SEO. In fact, nested tables and images are probably the worst thing you can do.

Hope this helped.

4:44 am on Mar 16, 2006 (gmt 0)

5+ Year Member



CSS is the better option for SEO

I am curious why? (note that I am not asking from the coding/visual/ or any other technical aspect, but only from SEO perspective, i.e why is CSS approach better then tables for SEO)
1:00 pm on Mar 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cleaner code, the seperation of content from style.

<table>
<tr>
<td>
content
</td>
</tr>
</table>

VS

<div>
content
</div>

1:13 pm on Mar 16, 2006 (gmt 0)

WebmasterWorld Senior Member trillianjedi is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Cleaner code, the seperation of content from style.

And more importantly than that, the positioning of content within the page source.

<header>
<navigation>
content
<footer>

vs.

content
<navigation>
<header>
<footer>

It also creates smaller size pages, generally. And almost always a higher ratio of "content text vs. markup text".

Don't forget the user perspective either (thinking like a user is the first step in truly understanding SEO) - getting tables to render on mobile devices is tricky, and that's becoming more and more important. It's not inconceivable that at some point in the future SE's will serve different SERPS to users on mobile devices based on accessibility.

TJ

11:45 am on Mar 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



fixed sites built with divs or liquid built with nested tables and clear/spacer gif's better?

why the separation between fixed width and liquid design? you can get a liquid design in CSS.

But fixed vs liquid doesn't have any effect on serach engine listing - but can have some on usability and accessibility [webmasterworld.com].