Webmaster Papers




Google
 
Web webhostingpapers.com




/pagead2.googlesyndication.com/pagead/show_ads.js">

CSS - Maximum Benefits


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:

<html>

<head>

<title>My Page</title>

<style>

A

{

font-family: Verdana;

font-size:8pt;

color:black;

text-decoration:none

}

</style>

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:

<html>

<head>

<title>My Page</title>

<link href="myStyle.css" rel="stylesheet" type="text/css">

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:

<font color="#0000ff"><font size=2>Product</font></font></font>

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 pick 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:

<table width="90%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="381" height="150" valign="top" bgcolor="FFEDD4">

My Product

</td>

<td height="150" valign="top" bgcolor="FFEDD4">

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

<div id="leftcontent">

My Product

</div>

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 try 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 industry, and he is running his own company today.

Search Engine Positioning Firm

SEO.Goto.gr

RELATED ARTICLES


Writing Effective ALT Text For Images
Anyone who knows anything about web accessibility knows that images need alternative, or ALT, text assigned to them. This is because screen readers can't understand images, but rather read aloud the alternative text assigned to them. In Internet Explorer we can see this ALT text, simply by mousing over the image and looking at the yellow tooltip that appears. Other browsers (correctly) don't do this. The HTML for inserting ALT text is:
How to Make Your Own Website For Free
If you like the Internet and surfing through the billions of web pages on it then you might be thinking that you also would like to have your very own web page. Well, fortunately you can create your own web page for free and have it online so the whole world can surf the web and see what your web page is all about. If you want to learn more about building your very own website for free, simply follow the steps below and in a short period of time you will have your very own web page!
The Dos and Donts of Launching a Small Business Website
Launching a new small business website is often a long and painstaking process. And for most small businesses, the endeavor rarely ends in success. The terrain is mapped with freelancers, firms, and consultants that don't offer the same services and most certainly don't charge the same prices. Projects are often riddled with unclear expectations, missed deadlines, and ridiculous hourly rates. What's worse is that many developers have the audacity to ask for even more money halfway through the project. Even after all of the hard work is complete, most companies don't even see a return on investment.
Five Question-Five Minute Web Makeover Quiz
If you haven't made the sales and built your clients to an income you want, then you may need a Web Site makeover.
Web Sites ? Should I Learn or not?
A common dilemma most small and medium businesses face when coming to their web site is if they should take the time to learn how to build a web site or not? Here's my honest thoughts on this topic.
Website Survival Guide
In the big, wide online world there are millions of websites and billions of webpages. In the increasing sprawl of this virtual jungle there must be an evolution. Some of these webpages must grow stronger and thrive whilst others will weaken and die.
The Power Of CPanel
cPanel is a control panel for your website and allows you to set up and manage your web account through a graphical interface instead of having to use command line. This means that you can make changes to your website without having to learn to use a command line environment. There are a variety of control panels out there, most offering a graphical interface and granting access to email management, FTP, subdomain administration, website statistics, etc. With a control panel, you can add/remove email accounts or view disk usage and statistics for your site by clicking on a shortcut and entering the appropriate information.
What is Blogger.com?
In the late 1990's three San Francisco based web developers came up with the idea of being able to share information about anything on the web. The terminology they used was called blog. It's use was considered a mix of web page / personal journal. It's original usages were vast and wide, but more and more people came to use them as a personal tool that is available anywhere the Internet is. The three friends would eventually create Blogger.com one of the largest blogger sites on the Internet today. Blogger, which stands for Web Logger, has increased in popularity over the past three years. There has been so much interest in what capabilities it holds Google.com purchased them. Eventually, Google assimilated their technologies and imported them into the popular plug-in, The Google Toolbar.
If Its Done Its Done for: Make Your Website Part of Your Business before You Build
Web sites are an Ongoing Part of Business.
A Beginners Guide to Server Side Includes
An Introduction to Server Side Includes
Web Coach Tip: What You Should Know About DIY Web Sites
Recently, a friend asked "What's the deal with those DIY companies that advertise "How to get a website with everything your business needs for under $20 bucks a month?". "How can they do that?" she said.
The Number One Reason Most Websites Fail
Failure, just like success, is measured differently by each and every one of us. What one man treats as success another may view as failure. For the purposes of this article a website that fails is one that fails to attract and convert enough targeted visitors into paying customers. Yeah - positive feedback from your website visitors is great but let's face it - we're all in this ultimately to make more money.
Why a CSS Website Layout Will Make You Money
Although CSS layouts have been around for years, they haven't become so commonplace until recently. This was basically due to limited browser support (especially from Netscape 4) - nowadays though, CSS 2.0 (which introduced positioning) is compatible with over 99% of browsers out there (check out the browser stats over at http://www.thecounter.com/stats/2004/August/browser.php).
Three Way Linking - Webmaster Strategy
Three way linking and concerns.
7 Killer Ways To Increase Your Online Sales
Every online entrepreneur I talk to is asking the same question, "How do I increase my online sales, NOW?"
What Business Owners MUST Know BEFORE They Commit To Having A Web Site
Q1.Why would I need a web site? A1.
Make Your Communication Come Alive
Design and layout can make your communication come alive and your message immediately apparent. Now, with so much technology at hand, design becomes much easier, but you must develop the ability to plan and visualize what you want to convey. Then decide what will appeal to your readers and help them understand the material.
Freelance Programming is Easy to Manage
There are several reverse bid freelance sites out there. Beyond the big ones, smaller ones are popping up each day. With the variety of places for a programmer to go and look for work the review systems in place on these sites don't count for as much as they did at one point in time. If you are thinking about getting a project off the ground and using a freelancer there are some basic rules you should go by.
Credibility - 10 Ways to Build it on Your Website
If you have your own business website and you are trying to sell something, then it is imperative that you are able to establish and maintain credibility. Why is this important? If you are going to ask someone to make a purchase from you, then you need to show them why they should purchase from you rather then your competitor on another site.
Build a Strong Foundation for Creating Your First Online Identity ? Notes for Beginners
If you are looking for creating your online presence you should follow some of the basic requirements so that your new website will have a strong foundation. Today internet is a growing media which can provide you maximum results, which no other media can do for you. If you think on right direction and take your action step by step, it is almost certain that your site will have a strong online presence and reach to the maximum of you potential clients.