Why Use CSS

on Sat Jul 05 08:31:55 GMT 2008 in Webmaster Articles and viewed 1585 times

There are quite a few reasons to use just CSS and no tables in styling your websites. This article goes over a few of them.


I’ve seen a few sites go over to mostly css in the past few weeks, and mine has as well. There’s many reasons for doing this, and I’m going to highlight three of them now, and by the end of this article, you’ll be itching for my tutorial on how to start on a css website.

1. Ease of Use

CSS is extremely easy to use. All you need is some knowledge of HTML, and you’re off. CSS uses all of the tags from HTML and of course you can make you’re own classes for customizability. If something goes wrong, it’s easy to fix. There isn’t any advanced tables and table nesting, etc. All you need to know how to use is div tags. Easy.

2. Search Engines Love It

Search engines love correct css code. So often I see people coding sites incorrectly, and often they are sites that they just sliced from photoshop. These sites often do not adhere to w3c standards. You can validate your X/HTML and CSS at validator.w3.org
Search engines love valid code. And it’s easy to do this with CSS. As long as you use the correct settings. I know what you’re saying. “Ben! You can have vaild CSS and HTML with a photoshop layout too!” Yeah, but it’s much easier when you code a CSS site by hand with CSS.

3. Speed

One of the reasons I switched to CSS was the speed. You just have to design your site without so many images. I’ve seen a lot of well designed sites without tons of images. And CSS is just perfect for this kind of thing. Besides that, tables weren’t even designed for layouts. They were supposed to be for data. Go with CSS.

So I think that you’ll find CSS to be so much better if you just switch to CSS. It’s just easier.