tokyov
13 posts since
Nov 28, 2007
6.
Re: CSS or Tables ~ Which Web Design Strategy do you prefer? Jan 11, 2008 8:10 PM

in response to:
NatOnline
CSS is a language for styling and simple scripting of styles. Browser support for scripting with CSS is very low but it's still powerful & will only get better in time. CSS is comparable to HTML, not tables. I think you want to know if people prefer Web 1.0 vs. Web 2.0 layout & design strategies. Web 2.0 is the only way to go today if you want your site to rank in search engines and also want your site to accessible to all users.
When it comes to using tables within your content, both should be used. It is not practical to use CSS (I assume you're referring to styling layout with DIVs, P, LI, etc. when you say CSS) in every situation. Complex datasheets and detailed tables should certainly remain tables but you should still style it with CSS, not HTML (inline tags, like font tags, etc.). However, when you are creating the layout of your site, lists with hierarchy such as menus or bullets, blocks of data, etc., should use Web 2.0 code today that's styled with CSS is the best way to go. Doing so, will set you higher in search engines, provide you a way to guide spiders through your site's layout, etc. and pages load faster when there's less code. You want the spiders to index your content, not your code. Using tables for the layout of your web site creates far too much code for a spider to parse through. Using a style sheet, the spider sees content, and if you use lists, acronyms, cite tags, etc. properly via CSS, you can get a spider to index every page if they can follow the hierarchy properly. Hope that makes sense.
Using Web 2.0 code & CSS is not something you can have a preference over. It is the standard today, and Web 3.0 is right around the corner. If you're using tables for layout of your site and to control design with inline tags, then you're about 10 years behind the times for a web site.
Lastly, consider this --
less code = less bandwidth per visito r= lower costs = more profits. less code = higher rankings = more unique visitors and search engine traffic = less need to advertise = less cost = more profit. less code = faster pages = happier visitors = customer loyalty = more profit. I could go on and on.