Web Development

Web Development - Articles & Information To Help You With Web Development

Css - Maximum Benefits


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:

<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







Created & Maintained by Empower! CMS Web Sites

Host2Sell Web Hosting   |   Emarketing Workshops   |   Site SEO Review   |   FREE Newsletter

South Africa's Top Sites




| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |











Ecommerce For Beginners
Like most average persons, I wanted some extra money to supplement my regular income. I had considered a part time second job at times, but hated that option because it would take me away from...(related: Web Development)


Why Is No-one Buying From My Website?
Are you, like many other website owners, frustrated at the amount of time, effort and money you've put into your website, only to see few or no sales?Like most business owners, you probably know your products or services inside out; you know the benefits of them, and what they can gi...(related: Web Development)


5 Tips To Supercharge Your Website Sales Copy
The art of turning website visitors into paying customers depends almost entirely on good sales copy. What is that?Simply put good sales copy is the content of your copy and presentation of your copy put together in such a way that it increases your visitor to sale conversion rate on a consistent basis.It's an ongoing process in which you will always try to beat your "control". Beating the control is marketing lingo for engaging in a never ending process of constant improvement to your sales copy in order to bea...(related: Web Development)


Pim Team Case Study: Creating Text Effects With Php And Gd
See how you can create graphic effects on text with PHP and GD - drop shadows, arcs, fonts and colors.ProblemA-tec Signs and Sraphics Inc. launched a web site with the idea to sell decals online. T...(related: Web Development)


The Road To Better Results
A lot has changed in the way sites are optimized for search engines since last year. For one thing, Google is not the only search engine worth looking into anymore; Yahoo has definitely managed to take away some of Google's oomph over the past twelve months. Another important change is that the intelligence...(related: Web Development)


The Number 1 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 ul...(related: Web Development)


Optimal Website Design
Optimal website design is the art of logical navigation.It will offer consistency while providing useful, quality information that is attractive to the eye and easy to understand. A well designed site will lead your viewers to the starting point and direct them through your site without confusing them.While there are many ways to design a website there are a few basic design principles that will help you create a site that is user friendly and attractive.1. Use lots of white space.Don't feel that because you have a whole screen you needto fill it up with 'stuff'. Your page should follow a clean outline. Include your site name at the very top. Below that, list the subject of your page followed by information on your topic. Leave adequate space between each section.Don't cram a lot of pictures and...(related: Web Development)


Setting Up Your First Website
Q. Hey, Cathy: I'm just setting up a website. What should I do?A. First, don't call the web designer yet! Write out a detailed summary of your ideal client, if you haven't already done so. Get very clear on what b...(related: Web Development)


Website Development: Become Your Own Expert
Starting and maintaining a business is challenging enough without the additional financial burden of hiring a web site expert to put your vision on paper. If you are starting your business on a "shoe string budget," hiring someone to take your written materials to type in a basic format, add a few pictures and edit what you tell them periodically may not be sound money management.It is not necessary to be a computer "wiz" to develop your web site. You do have to know your product or service and be able to follow directions. Even if you have a web site consultant, "hands on"...(related: Web Development)


Trinkets, Lockets And Empty Pockets
It never ceases to amaze me how many people set-up a website, without any type of plan or clue about how to promote it, how to write a sales letter, how to write an ad-- nothing!Even more amazing is how many people try to conduct business online without any money.The other day, I received an e-mail from a woman named Nadia inquiring about my E-mail Consultation Service.In her e-mail, she explained ...(related: Web Development)




Google




You Cant Just Build A Website And Hope It Works!
Like any area of business your website needs some effort from you if its going to be successful. You'd be foolish to just build any old w...(related: Web Development)

Nonsense! Why Do I Need A Website?
"I don't sell anything online, I don't advertise online, in fact I don't really even know how to use a computer... why should I pay for a website?"If you don't feel a website can help your business grow or increase business sales, or if you're happy with the site your nephew made for you over half a decade ago... then you're not intune with current business trends and business practices.Fear the unknown no long...(related: Web Development)

A Website Is Not Enough
Your ObjectiveYour small business needs an appealing and professional website but that is just the beginning. If no one visits your website and -- more importantly -- if it does not bring in new customers and allows you to sell more to your current customers, then your site is not effective. What do you need to improve your online marketing efforts?The first step is to decide on a primary goal for your website. Is it to directly sell products or services through e-commerce? Or is the goal to capture leads so you can follow-up and make the sale by email and phone?For e-commerce you need a website design with a shopping cart system, that encourages people to purchase products using the shopping cart. Both the design and written content should maintain this focus.If your goal is to capture leads, the key is to hav...(related: Web Development)

site-map - Copyright © 2006 Empower! Web Design | All Rights Reserved. | Web Development