Where's my logo?
Recent Posts
  • CodeIgniter Community Voice - HOWTO: Set up a CodeIgniter project in Subversion CodeIgniter Community Voice - HOWTO: Set up a CodeIgniter project in Subversion

    EllisLab is blessed with two of the greatest communities that can be found anywhere on the internet in ExpressionEngine and more recently CodeIgniter.  Despite being a relative newcomer to the scene, the people attracted to CodeIgniter are am..

  • CodeIgniter 1.7.0 Released CodeIgniter 1.7.0 Released

    Code Igniter Version 1.7 has been released.  This version contains a number of new features and enhancements, as well as many small improvements and bug fixes. For a list of all changes please see the

  • CodeIgniter Community Voice - HOWTO: Set up a CodeIgniter assignment in Subversion CodeIgniter Community Voice - HOWTO: Set up a CodeIgniter assignment in Subversion

    EllisLab is blessed with two of the greatest communities that can be found anywhere on the internet in ExpressionEngine and more recently CodeIgniter.  Despite being a relative newcomer to the scene, the people attracted to CodeIgniter are am..

  • CodeIgniter Community Voice - Generating PDF files using CodeIgniter CodeIgniter Community Voice - Generating PDF files using CodeIgniter

    EllisLab is blessed with two of the greatest communities that can be found anywhere on the internet in ExpressionEngine and more recently CodeIgniter.  Despite being a relative newcomer to the scene, the people attracted to CodeIgniter are am..

  • CodeIgniter Community Voice - Lee?s Lost Bet CodeIgniter Community Voice - Lee?s Lost Bet

    EllisLab is blessed with two of the greatest communities that can be found anywhere on the internet in ExpressionEngine and more recently CodeIgniter.  Despite being a relative newcomer to the scene, the people attracted to CodeIgniter are am..

Recent Comments
  • Anggara Says : menurut mas, setuju engga..
  • - s L i K e R s - Says : waduh itu apaan ya, gak n..
  • budex Says : outputnya variabel keywor..
  • indra Says : thanks, but it really dep..
  • Xrvel Says : Nice trick, bro
  • bunk Says : mas, minta virus scannya ..
  • d. scully Says : very informative. thank y..
  • xhinsx Says : rancu banget definisi por..
  • zigouras Says : ntar pertandingan tinju d..
  • kaka Says : emang otak anggota dwn qt..
  • Squeaky Says : That is a very simple thi..
  • Sacx from Dofollow.us Says : I heard about this scanda..
  • mr.x Says : kolam renang indoor dmn y..
  • heloo Says : l;dfkgdf dfgfdg dfgfdg
  • SweetWinter Says : Thanks!
  • OBeh Says : katanya tetep jalan tuh, ..
  • Korekapi Says : disini ga bisa konek ke r..
  • Korekapi Says : di tempatku kok ga bisa m..
  • Arief Says : lebih bagus dari lagu asl..
  • White Bunny Says : Diliat dari 2 sisi ya gak..
Random Articles
CSS - Maximum Benefits
Date 31/03/2008 20:17 Author admin Hits 91
Print Pdf RSS
CSS - Maximum Benefits plus articles and information on Web-Development

What is CSS?

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.

From the other side some web developers implement the CSS on wrong way. They write their CSS in HTML code of the page, like this:

My Page

A

{

font-family: Verdana;

font-size:8pt;

color:black;

text-decoration:none

}

What is wrong with this technique? Well, imagine that you have site with more than 50 pages. One day, you decide that you want to change font color and colors of the links on your site. You will have to edit ALL the pages on your site, and do to that you will need time, because you place your CSS in your web page.

Better way is to save your visual attributes in separate, external CSS file, and to link that file with your page like this:

My Page

Using this technique, you can change the look of your site within minutes, regardless of the number of pages, because your visual attributes are saved in ONE external CSS file. Edit that file, and you are done.

Benefits

Which are the benefits of using CSS? List is quite long and I will list here only the most important.

  • Your web page will load faster
  • Web page will become more search engine friendly
  • You can change you site appearance within minutes
  • You can write separate CSS file for handheld devices which will be called up instead of the regular CSS file
  • You can forget about creating printer friendly version of your site using separate CSS file when user chooses to print the web page.

Avoiding standard HTML commands like:

Product

will help us to reduce file size, but that is not the only benefit. Using CSS word product in this example will be moved more close on the top of the document. Search engine will imagek up more content and less code.

Imagine that you have 3 columns table on your page. When you see the code, you will notice that first come code for your table, and after that it come your content. Positioning your 3 columns using CSS instead of standard inline elements:

My Product

When CSS is used, your code might look like this:

My Product

Again your code is much more clear, and your content is moved on the top of your document, making your HTML page search engine friendly, and reducing your file size.

Content is one of the most important factors in Search Engine Optimization, and you will benefit with removing the unnecessary code in your HTML and create search engine friendly web page.

Validate it

Browser war is far behind us. Reality is that most of the people today use Internet Explorer, but you should attempt to be on safe side and ensure that your CSS code is valid. Not all browsers interpret the CSS on same way. You can validate your CSS here: http://jigsaw.w3.org/css-validator/

About The Author

Zoran Makrevski is founder and CEO of SEO.Goto.gr.

Since 1998 has focused on E-Commerce and attempts to bring more traffic to the customer sites bring him in the SEO indusattempt, and he is running his own company today.

Search Engine Positioning Firm

SEO.Goto.gr


Related Article:
RankRankRankRankRank
There are no comments.