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

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

Image Management 101: The Web Developer's Guide
DevOps.com
But getting these high-quality images from the photographer's camera to the shopper is a bigger challenge than most understand. Web development teams often receive raw photographs in obscure formats, or high-resolution files designed to preserve image ...


Customer Think

Things You Should Definitely Know About Web Development Team
Customer Think
Imagine one time you came up with a great idea to create a website for your company. The first step to take in this case is to hire a web development team of professionals that can fit the project's objectives. The selection of the project team is as ...

and more »

Omaha World-Herald

Full stack puts Bellevue University web development students ahead of the pack
Omaha World-Herald
What makes Bellevue University's web development degree program unique is that it offers classes that prepare students to become full-stack developers – offering web development languages and skills in an in-depth degree program from an accredited ...


TechCo (blog)

Outsourcing Web Design – What You Need to Know
TechCo (blog)
Every brand needs a website, but when it comes to building one, the big question is cost. Taking on the task yourself can eat into valuable time, whereas recruiting and paying an in-house web development team can be hugely costly. This is why ...


Business Wire

Vector Media Group Acquires Renowned Web Design, Strategy and Development Agency, Happy Cog
Associated Press (press release) (blog)
NEW YORK--(BUSINESS WIRE)--Nov 13, 2018--Vector Media Group, an award-winning digital agency that provides brands with breakthrough strategy, development, design, and marketing solutions, today announced that it acquired Happy Cog, a renowned ...
Vector Media Group Acquires Renowned Web Design, Strategy and Development Agency, Happy CogBusiness Wire

all 13 news articles »

Chrome OS Sets Sights On Web Developers At Dev Summit: Live Feed
Chrome Unboxed
The second and final day of the annual Chrome Developer Summit will be wrapping up in just a few hours but rounding out the final session is a Chrome OS-focused session that will talk about Chromebooks as a web development platform. Chrome Engineer ...


App Developer Magazine

Kony now supports making progressive web apps
App Developer Magazine
Kony, Inc. announced new enhancements of its Kony AppPlatform to support Progressive Web Apps (PWAs). Kony is the first vendor to support enterprise-grade, low-code PWA development for mission-critical apps. Developers can use Kony's visual ...


Digital Inspiration (blog)

The Most Awesome Online Teachers for Learning Web Development
Digital Inspiration (blog)
For the past few months, I have been on a learning spree looking to enhance my existing coding skills and also learn new programming languages and frameworks. In this process, I have watched a countless number of video tutorials and online courses that ...


TechRepublic

How do I know if Web Development is right for me?
TechRepublic
However, I can say right now, I am not even remotely comfortable applying for a web development job. I think design and responsive design is holding me back. I know media queries and how to use them and all, but it is a matter of making my web apps ...


The Drum

When it comes to a website, where does the brain reside? Designer or the developer?
The Drum
Within seconds of landing on a website, a person will form an impression of not only the site itself, but also the branding and company that it represents. It falls to the designer and developer to captivate users and hold their attention. As websites ...

Google News

What Works and What not Works for Your Internet Business

"Build it and they will come."--Filed of Dreams (1989) If... Read More

How to Get a Knock Out Website!

The first step in setting up an online business...Starting an... Read More

Developing A Website: 10 Tips For Getting Started

1. Be clear on your purpose.Building a website can be... Read More

Creating Compelling Content , Write It and They Will Come

In a previous ezinearticles.com article,"I Need real visitors, Not Search... Read More

How To Make Your Website More Successful? (Part I)

Building a website and getting it online is easy. Driving... Read More

How to Handle Web Surfers Who Disabled JavaScript

There are hundreds of millions of Web surfers today. Each... Read More

3 Ways To Increase Your Websites Conversion rate

Everywhere you look these days, people are telling you that... Read More

Top 7 Tips for Building an Antique Car Website

Like wine cars get more attractive to collectors as years... Read More

Make Your Web Site Stand Out

When visitors add your web site to their Favorites or... Read More

Are You Overlooking the Benefits of Using Sub-Domains within Your Web-hosting account?

One of the most useful features offered by some web... Read More

Abandonment - Why Visitors Don?t Turn Into Customers

Every good Internet business understands the value of conversions versus... Read More

Using Psychology Easily on Your Website to Make More Sales!

Psychology is a long word which everyone thinks, "no, that's... Read More

5 Tips To Supercharge Your Website Sales Copy

The art of turning website visitors into paying customers depends... Read More

Do Dancers Need A Website?

Dance is how you pamper your soul and satiate your... Read More

Running An Effective Website

Running an effective website is a continuous process. I have... Read More

PHP Redirect

A PHP Redirect automatically transfers a web user from one... Read More

Web Content Strategy 101

Your content is what gets you in search engines, speaks... Read More

Top 10 Webmaster Challenges

Webmasters deal with a myriad of complex design challenges every... Read More

Earn On Offshore Web Design and Development

If you have some experience in web site design and... Read More

Why a CSS Website Layout Will Make You Money

Although CSS layouts have been around for years, they haven't... Read More

Cost Effective and Powerful Dynamic Websites w. Fantastico Web Hosting

If you are developing your website on a host that... Read More

Website Success is Key

The popular search engine Google indexes over 8 billion websites.... Read More

What is SQL?

What is SQL? SQL stands for Structured Query Language and... Read More

Where?s Your Web Site?

This simple question can take on several different forms, but... Read More

10 Tips For A Successful Website

Have you ever thought the secret behind the success of... Read More