Tuesday, January 16, 2007

Page Background Color

A short note about background colors in HTML. If you are going to have a different page color other than that which will feature your main content, it is a good idea to enclose the content area will a {div} or {table} that is the same color as the area that holds the content.

You see, web pages load in stages, and let's say you have a dark background, with white content areas... For a few seconds, (depending upon page speed) you will see dark text on a dark background. This is especially apparent when dark backgrounds are used with tiled images for {div} or {table} backgrounds.

If you use a {content} area, it will load quickly and prevent this.

Alright!

No comments: