Avoid the Most Common Mistake Made with BACKGROUND
The most common mistake made with BACKGROUNDBACKGROUNDSuppose, for example, that you want to use this image as the background for your page:
With an image that dark, you would naturally want to set the text properties to something light:
| this code | produces this |
<BODY
BACKGROUND="../graphics/darkbg2.jpg"
TEXT=WHITE
LINK=YELLOW
VLINK="#CCFF66"
>
|
this page Take a look at what the page looks like if the user doesn't load images |
If the user loads images, then the page looks fine. However, most browsers default to a light background, so take a look at what the page looks like if they don't load images. In the above example, it would be best to set the background color to something dark, like this:
| this code | produces this |
<BODY
BACKGROUND="../graphics/darkbg2.jpg"
BGCOLOR="#336666"
TEXT=WHITE
LINK=YELLOW
VLINK="#CCFF66"
>
|
this page |
Copyright 1997-2002 Idocs Inc.
