Style Your Body

Let me ask you a question. How would you normally define the main elements of your website?

Like This?

<body bgcolor=”#FFFFFF” link=”#0000FF” vlink=”#800080″ alink=”#FF0000″ font face=”Arial, Helvetica, Sans Serif” size=”+2″ color=”#000000″>

OR – Like This:

<body>

The first example is the “old-fashioned” HTML – WYSIWYG way of defining how the main elements of the body will display on a web page.

The second example is how the HTML would appear if you “styled your body (tag)” in a Style Sheet.

OK – How does the browser know what to display, based on an opening <body> tag like that?

In the <head> of your document you add this: Continue reading

Keep Code Organized


The worst way to create well-designed web pages is to use a WYSIWYG Editor. They may look like they’re doing the job, but what is happening is the code created by these monstrosities is almost unreadable and un-editable.

By creating NEAT organized Styles in a stylesheet, you have effectively removed about 75% of the junk out of your webpage. JUNK that will drive you nuts.

Some webmasters who create CSS Stylesheets, copy and paste code from a bunch of different websites because they don’t know how to create their own style rules. The result is a mish-mash of messy hard to read style rules.

There are 3 steps to good web page organization: Continue reading