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
limo prices to midway Crystal Lake west of Randal .. Lockport Chicago limo O’HareLast Thursday afternoon I was working on a garage door... Read More
Dear web site visitor.I can't tell you how glad I... Read More
The ability to create simple, attractive and functional web pages... Read More
Designing your website can be a difficult task especially if... Read More
Not too long ago while looking for businesses that do... Read More
For most people graphic design does not come easy. Unfortunately... Read More
What dollar amount does your web site contribute to this... Read More
Don't make a splash!Are you thinking about using a splash... Read More
Every now and then, I receive a link exchange request... Read More
Easy That's how you'd like life to be, right? Especially... Read More
Congratulations! You've got a brand new site and it's doing... Read More
Here are a few programs I can't do without. They're... Read More
Everyday we hear that another company goes out of business.When... Read More
A few years ago a lot of websites utilized frame... Read More
Learning how to convert visitors to your web site into... Read More
On the internet we don't deal with face to face... Read More
See, works every time. Seriously now, for some reason people... Read More
While few companies can boast as we do that our... Read More
If you have a business, big or small you may... Read More
To build a website, there are four methods to choose... Read More
Studies done by Jakob Nielson the man touted as the,... Read More
You have only 10 seconds to impress your potential buyer.... Read More
As a graphic designer, you are sitting on a gold... Read More
If you are designing a web site for which the... Read More
This is the second part of a two-part article about... Read More
taxi o'hare Auburn ..How many times have you clicked on a website only... Read More
Due to the large number of people offering website design... Read More
It's a fact, Page Not Found, known as a 404... Read More
A "template" is simply a design format which you can... Read More
Every now and then, I receive a link exchange request... Read More
Setting up a survey on your site is extremely simple... Read More
If there's one thing that most web site developers can... Read More
This is a two-part article about creating a web site... Read More
Most of us know that we need to advertise our... Read More
On the internet we don't deal with face to face... Read More
I always have people asking me if I know of... Read More
The problem with designing your site as a graphic, is... Read More
With an increasing number of employment portals emerging, it is... Read More
Favorite icon appears to the left of your link in... Read More
Your website design may be affecting your sales in ways... Read More
Have you put a lot of effort, time, and money... Read More
The effective design is this one, which is maximum simplified,... Read More
Just because you are a small business with an even... Read More
Know what you wantMake sure you know why you... Read More
Conventional Wisdom states you should use Sub-Directories to organize your... Read More
In retailing there is a saying that sales are made... Read More
Now that you have decided that it is time to... Read More
A highly effective website will always reflect its highly effective... Read More
FACT: 30 to 60% of visitors tend to drop off... Read More
As search engine marketers, we spend an enormous amount of... Read More
Web Design |