Although CSS layouts have been around for years, they haven't become so commonplace until recently. This was basically due to limited browser support (especially from Netscape 4) - nowadays though, CSS 2.0 (which introduced positioning) is compatible with over 99% of browsers out there (check out the browser stats over at http://www.thecounter.com/stats/2004/August/browser.php).
So, why should you convert your website from its current table-based layout to a CSS layout? It'll make you money. Simple really. And here's four reasons to explain why:
Reduced bandwidth costs
Web pages using CSS for layout tend to have much smaller file sizes than those using tabular layouts. It's not unusual to see reductions of 50% or more in file size when switching from CSS to tables. Smaller file sizes obviously mean reduced bandwidth costs, which for high traffic sites can mean enormous savings.
The main reason for this dramatic decrease in file size is that presentation information is placed in the external CSS document, called up once when the homepage loads up and then cached (stored) on to the user's computer. Table layouts on the other hand, place all presentation information inside each HTML, which is then called up and downloaded for every page on the site.
Additionally, CSS can be used to replace JavaScript image rollovers, again allowing a large reduction in overall page size. See the article, CSS navigation menu for more on this (http://www.webcredible.co.uk/user-friendly-resources/css/css-navigation-menu.shtml).
A higher search engine ranking
A CSS-based website will appear higher in the search engine rankings for three reasons:
- The code is cleaner and therefore more accessible to search engines
- Important content can be placed at the top of the HTML document
- There is a greater density of content compared to coding
A higher search engine ranking means more site visitors, which, provided your website is usable, should lead to an increase in enquiries or sales.
Faster download speed
A faster download speed will make you money? Well, yes. Slow download speed is often cited as one of the biggest usability complaints for websites. A faster download speed therefore leads to increased usability, and a web usability redesign can increase the sales/conversion rate by 100% (source: http://www.useit.com/alertbox/20030107.html).
CSS downloads faster than tables because:
- Browsers read through tables twice before displaying their contents, once to work out their structure and once to determine their content
- Tables appear on the screen all in one go - no part of the table will appear until the entire table is downloaded and rendered
- Tables encourage the use of spacer images to aid with positioning
- CSS generally requires less code than cumbersome tables
- All code to do with the layout can be placed in an external CSS document, which will be called up just once and then cached (stored) on the user's computer; table layout, stored in each HTML document, must be loaded up each time a new page downloads
- With CSS you can control the order items download on to the screen - make the content appear before slow-loading images and your site users will definitely appreciate it
Increase in reach
The more people you can reach, the more visitors you'll get to your site and the more enquiries or sales you should get. A CSS-based website is compatible with PDAs, mobile phones, in-car browsers and WebTV. Don't underestimate the importance of this: In 2008 alone an estimated 58 million PDAs will be sold (source: http://www.etforecasts.com/pr/pr0603.htm) and one third of the world's population will own a wireless device (source: http://www.clickz.com/stats/markets/wireless/article.php/10094_950001).
You can make an additional CSS document specifically for handheld devices, which will be called up in place of the regular CSS document, thereby ensuring your website is accessible to this lucrative market. This isn't possible with a tabular layout.
Conclusion: Switch to CSS!
Switching your website from a table layout to a CSS layout can be a long, arduous process, especially for large websites. Given the money making possibilities though, it could very well prove to be well worth it.
This article was written by Trenton Moss. He's crazy about web usability and accessibility - so crazy that he went and started his own web usability and accessibility consultancy ( Webcredible - http://www.webcredible.co.uk ) to help make the Internet a better place for everyone. They offer fantastic accessibility & CSS support packages, which you can read all about at http://www.webcredible.co.uk .
If you're an up and coming graphic/web designer just out... Read More
It is an undeniable fact that not everybody is keen... Read More
With search engines putting a damper on direct reciprocal links,... Read More
A website is like an information flow, with you as... Read More
"If you build it, they will come"; is an age... Read More
Before you jump into spending coutnless hours on designing and... Read More
"I don't sell anything online, I don't advertise online, in... Read More
The popular search engine Google indexes over 8 billion websites.... Read More
Are bloated images slowing down your web site and causing... Read More
Have you ever wondered what challenges are faced by other... Read More
So you have decided that you want to do freelance... Read More
Even though the Internet has been around for a long... Read More
What do you mean, you don't have a website for... Read More
Whether you have your own business already, or are looking... Read More
1. Upload robots.txt file in to your root directory and... Read More
SummaryHere's the scoop on what you must know when designing... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
Does My Web Site Require A Web Database?If your web... Read More
There's been widespread speculation about the new legislation being introduced... Read More
Your website conversion rate should concern you. This simply refers... Read More
Failure, just like success, is measured differently by each and... Read More
When you started reading this sentence you assumed lo acabar?a... Read More
1. The first page appears quickly.It's a good way to... Read More
People often come to me in a state of crisis... Read More
URL rewriting are major needs for your sites that produce... Read More
After years of working with entrepreneurs who developed their first... Read More
While most marketers are beginning to understand the critical importance... Read More
When you consider the billions of individuals and companies on... Read More
You know exactly what your organisation does and what your... Read More
Although CSS layouts have been around for years, they haven't... Read More
This simple question can take on several different forms, but... Read More
There are several reverse bid freelance sites out there. Beyond... Read More
There are lots of HTML editors on the market, however,... Read More
What do you mean, you don't have a website for... Read More
If you're fairly new to the Internet scene, you may... Read More
Is Your Web Site an Expense or an Investment?Why don't... Read More
Optimize your time. How much time each day must you... Read More
A while ago one of my clients approached me and... Read More
In a previous ezinearticles.com article,"I Need real visitors, Not Search... Read More
Does My Web Site Require A Web Database?If your web... Read More
Build it and they will come is not always true;... Read More
If you are developing your website on a host that... Read More
A professional online reputation is essential to the flourishing of... Read More
Like most average persons, I wanted some extra money to... Read More
One of the best tools you have as a webmaster... Read More
Most web sites are more like stage sets than real... Read More
In this day and age most businesses consider having their... Read More
Right after the thought, "I need a website," people usually... Read More
In my previous life.....Actually, my previous JOB life, I was... Read More
With search engines putting a damper on direct reciprocal links,... Read More
Web Development |