CSS or Cascading Style Sheets has opened up tremendous possibilities for improving web site designs, web page layouts and adding new features. The HTML code can be made shorter, cleaner and simpler by CSS resulting in faster loading of web pages, and making them more accessible to search engines. Here I am narrating my experience with only one part of CSS - using it to eliminate tables.
If you look at a traditionally designed web page, you are likely to find number of tables in the layout. Tables were earlier used only for displaying information in a tabular form. But web site designers soon started using tables for other applications such as showing images, graphics and other decorations.
My own web pages were earlier checkerboards of tables. Each web page was almost fully covered with tables and many tables were nested inside other tables. As I tried to add more features the design became more and more complicated resulting in longer loading times. It also took lot of time to "adjust" the tables on the page to make it acceptable.
It was not an easy task to redesign all the pages using CSS. But once I started, the improvements were more than I had bargained for. The design became simpler, the appearance improved and loading time came down considerably. The code looked real clean. Most of 'td' and 'tr' tags were gone.
My purpose of this exercise was not really to change the appearance but to make the design simpler. Now the tables which were earlier used only for design purpose have been eliminated. For eliminating tables first step is to decide which tables or more specifically which cells have to be removed. For applying CSS each cell of a table can be considered as a "box". These boxes are given separate identities and description of each "box" goes into CSS code. The "boxes" can be given names such as box1, box2 etc. The description of the "box" can include size, its location on web page, background color and image if any, font details, padding, border details etc. The location of the "box" can be made "fixed" on the web page, or it can be floating in which case location can be defined with respect to another "box".
If the location and dimensions of the boxes are properly worked out, they neatly fit into the web page giving it a clean look. Since the code associated with table designs are done away with, the content of the page attains more prominence in the code. This makes it easier for search engine spiders to locate the actual content of the page.
If you have several web pages with similar design, the CSS code with these and other details can be put in an external file. This will further shorten the code for each page. With CSS lot many improvements can be done in web page design and layout. CSS can also be used for search engine optimization of the page.
My experience with CSS has been great and I wonder why it is not used more often. My advice - convert to CSS based design.
Sanjay Johari contributes articles regularly to various ezines. His website contains information, articles, resources, opportunities and more for small business owners and home based business owners. http://www.sanjay-j.com
Join the longest running internet business opportunity - because it works! http://www.sanjay-j.com/empowerism.html
![]() |
|
![]() |
|
![]() |
|
![]() |
A question we frequently get asked is, "how do we... Read More
You have probably viewed many Flash-based components while surfing the... Read More
Are you a student of graphic design? If you have... Read More
You've made your website, added a great title and keywords... Read More
STEP 1:Do your homeworkPlan and think about your content. Think... Read More
As search engine marketers, we spend an enormous amount of... Read More
Do you remember playing with the jack-in-the-box toy as a... Read More
Any design on a web application involves the effective input... Read More
The .htaccess file is a control file located in your... Read More
If someone doesn't know you personally, will they trust you... Read More
Web sites that feature products ? especially furniture or other... Read More
What is a Website Template?Many smart and savvy businesses are... Read More
If you are going to have a web presence for... Read More
An attractive and user-friendly Web site is crucial to attracting... Read More
Mechanical spiders have to eat. In fact, they usually have... Read More
Every day internet marketers are inundated with the latest fad... Read More
See, works every time. Seriously now, for some reason people... Read More
As an online Entrepreneur you require a successful website.One that... Read More
Color is everywhere and conveys a message even if we... Read More
Designing your website can be a difficult task especially if... Read More
Using CGI scripts to add automation to your web site... Read More
Designing your own successful web page can seem difficult and... Read More
Are you building your website? If so, STOP! Take a... Read More
What do the key words represent?Key words - these are... Read More
In this article you will find the parallel between two... Read More
Your business website tells a lot about your company. A... Read More
A "404 Error" happens when the web server you are... Read More
Out there in the WWW there are thousands sites using... Read More
The following list of websites is the best compilation of... Read More
CSS or Cascading Style Sheets has opened up tremendous possibilities... Read More
Easy That's how you'd like life to be, right? Especially... Read More
Automating your online business is one of the most important... Read More
Here are a few programs I can't do without. They're... Read More
Customers will form an opinion of your business as soon... Read More
This article gives free tips on how to find a... Read More
In this article I will give advice and tips of... Read More
You're almost set. The content of your website, e-book, or... Read More
So how do you know when your graphic designer costs... Read More
STEP 1:Do your homeworkPlan and think about your content. Think... Read More
Do know your audienceIt's important to know your audience. If... Read More
Your web site has been up for a few months... Read More
1. Don't load your web site with a lot of... Read More
Wether you design your business brochures, flyers, web page, or... Read More
Projecting a professional image is paramount to your website's success.... Read More
There are several graphic software packages available to help you... Read More
Website Design Usability Tips1. Getting to know about audience membersYou... Read More
Making a poorly designed website is one of the easiest... Read More
There is a widespread confusion among lots of new website... Read More
In cascading style sheets you can specify how your web... Read More
The trend today to overuse animation in a website's opening... Read More
Have you heard of 'Babel Fish'?It's a service provided by... Read More
Web site design has certainly, in the past decade, evolved... Read More
Choosing a web designer can seem like a daunting task.... Read More
A "404 Error" happens when the web server you are... Read More
Most of us at times need advice on different aspects... Read More
Making your site accessible means making it available to be... Read More
While few companies can boast as we do that our... Read More
If you were like me and you have just started... Read More
My mother used to take me along when she visited... Read More
If you're running a website or online business, your number... Read More
I am constantly bombarded with all sorts of advertisements, single-page... Read More
Do you know why the majority of people use the... Read More
Part one of this article is available at ... Read More
One of the most popular methods of traffic generation is... Read More
Creating your own website is great fun! But how is... Read More
Chris, a new consulting client, asked me to help him... Read More
Web Design |