You are here

Why CSS

Why CSS - CSS benefits

CSS is a simple file which controls the visual appearance of a Web page without compromising its structure. Using CSS we can control our font size, font color, link color and many other attributes on our web page. This will make our HTML code much more readable and the page size will be reduced.

Why to use it and how to use it properly

If you don't use CSS on your web pages and you have many tables and content on them, chances are that your HTML file size will be quite big. Fact is that we live in a busy world, and people are not will to wait more than 5 seconds web page to load.

 

There are alot of benefits from using css such as ( Why CSS ) :-

1. Separate content from presentation. An external style sheet can contain all the styles for your web site, then if you want to change the content you only have to edit one style sheet. This is great for a web site that contains hundreds or thousands of pages.
without css , you have to edit each page in the site , just imagine you have more than 1000 pages , I LIKE CSS :)

 

2. Fast loading pages. Tables slow down the loading of your pages because the spider has to crawl through each table. If your tables are nested inside each other your page will load even more slowly. Designing CSS-based web pages will speed up the loading of your pages considerably because the styles are all contained in one style sheet.

 

3. Small file size.  css reduces the html file size , which helps you alot .

 

4. Bandwidth Reduction. When CSS separates your website's content from its design language, you dramatically reduce your file transfer size. Your CSS document will be stored externally, and will be accessed only once when a visitor requests your website. In contrast, when you create a website using tables, every page of your website will be accessed with each visit. Your reduced bandwidth needs will result in a faster load time and could cut your web hosting costs.

 

 

5. Search Engines. CSS is considered a clean coding technique, which means search engines won't have to struggle to "read" its content. Also, using CSS will leave your website with more content than code – and content is critical to your search engine success.

 

 

6. easily printed. When a user chooses to print a web page an alternative CSS document can be called up. This document can specify that formatting, images and navigation disappear and just the page content appear on the printed version.

 

 

7. Saving time and money. SS will allow you to design your site much faster than tables because there are some styles you can use for every site and also CSS will shorten the project development process and eliminate design obstacles that occur from using tables.

 

 

8. Eliminate javascript. Many people surf the web with javascript turned off because they don’t want to be vulnerable to viruses or allow pop-ups. This means that the beautiful javascript navigation you produced will not
be seen. You can often achieve the same affect with CSS navigation. These allow for rollovers and other pretty affects and are much more user friendly.

 

Conclusion.

If you are one of these people who still use tables to make web-designs , then i really advise you to start learnig css because of its benefits.
You can desing everything using css , just learn it and you will never change it .
 

WHY CSS - CSS benefits