Internet is growing Every Seconds :: Industry is growing Every Year

Friday, July 22, 2005

Why CSS (Cascading Style sheet)

Why We Used CSS Based website

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 tables to CSS. 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.

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.


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.