James S. Huggins' Refrigerator Door: Click here to go to my Home Page. background colors, default background colors, web page background colors, qwerty
.
Candy Corn --- Background Colors
Background Colors

One of the most common deficiencies I find while surfing the web is the failure to set a background color.

Many designers think that white is the default and that a background color is only necessary if white is not used. Many other designers think that a background color is not necessary if they use a background graphic.

These are wrong. This page explains why.

What Happens If No Color Is Specified?

If the page does not specify a background color, then the browser specified background color will be used. If you do not specify a background color, it may not be white. If the page designer truly wants white, the designer should specify white.

This page has purposely been created without a background color to illustrate these effects. If you change your browser as indicated below you will see this.

But What If I Use a Background Image?

You should still specify a background color, even if you use a background image. There are several reasons.

First, the background image may take time to load. Using a background color helps ensure that the page is viewable while the background image is loading.

Second, the background image may not load. The browser may not support the background image or there may be another problem. If you use white text on a dark image and the image doesn't load, then your text may be unreadable. Using a background color helps ensure that the page is viewable even if the background image does not load.

Of course, you must also choose the correct background color. If you use white text on a dark image and set your background color to white, this will not help. You should choose a background color similar to the background image. This will preserve the contrast between the text and other foreground elements and the background.

For example, if your image is mostly dark blue, choose a similar dark blue background color.

How Can I Check My Pages?

The easiest way is to change your browser to use a default color like gray. The instructions are below. Once you have changed your default color, you can then surf your site to check it; any page missing a background color will show as gray (or whatever color you chose) alerting you to the problem.

This page has purposely been created without a background color to illustrate these effects. If you change your browser as indicated below you will see this.

Also, if you use background images, you should check your site by turning off image loading in your browser. This will show how the page looks without that image.

Do you want people to be able to print your pages? Then remember that white or light text will not print well, regardless of background color. If you want people to be able to print your pages, print them yourself on a black and white printer as a test.

What About HTML Email?

HTML email should also set a background color. On some systems (e.g., Windows/IE/Outlook) the default background color for the email derives from the default for the browser.

When I set my browser to show gray pages, it also shows gray email for all HTML email I receive that did not set a background color.

How Does the Browser Specify Color?

Microsoft Internet Explorer

  1. Select Tools
  2. Select Internet Options
  3. Select Colors
  4. De-select Use Windows Colors
    At this point, the background color will now probably be gray.
    You may choose any color as the default
  5. Select OK to exit back out

Netscape Navigator

  1. Select Edit
  2. Select Preferences
  3. Open the Appearance Folder
  4. Select Colors
  5. Select background color of your choice.
  6. Deselect Use Windows Colors
  7. Select OK to exit back out

This page created:
before
Fri, 25.Oct.2002

Last updated:
19:53, Tue, 19.Aug.2008

. . .
Snippets: read about my free email newsletter and subscribe on this page.
This site follows the Core Principles of Ezine Privacy from EzinePrivacy.org - Defending the privacy of ezine subscribers
Creative Commons License button - Except as otherwise noted, original content of this website is licensed under a Creative Commons License.
Web hosting by 1and1.com - check the incredible prices and options Content management and SEO by The Eclectic Power Company - EclecticPower.com

w Check out my free ezine newsletter: Snippets.
w Yes ... I want you to link to my site. Please link to me.
w Want to contact me? Email me. I'd love to hear from you.

» Copyright © 1997-2008 James S. Huggins. All rights perversed.
» Original content licensed under a Creative Commons License.
» Web hosting provided by 1and1.com.
» Content management & SEO by The Eclectic Power Company.
» Concerned about privacy? Read my Privacy Statement.
» Trouble sleeping? Try the legal page.Honey, Honey, I've Got Honey! Here is my EMT Page.

. . .
background colors, default background colors, web page background colors, qwerty . . . background colors, default background colors, web page background colors, qwerty