|
|
Background Colors |
|
| Inside your BODY tag put bgcolor="blue". This changes the background color of your page. | |
| To get a complete list of the colors that you can use go to visibone.com. | |
| You can put the bgcolor attribute in a lot of different tags such as tables(we learn about those in the next chapter), marquees, and the <font> tag (which only works in higher versions of NetScape and IE). |
The Background attribute | |
| This attribute allows you to use an image as a background. Images that are used as backgrounds are often referred to as textures. | |
| You can texture you web page by typing background="" and putting the URL of your background image in the quotes (early versions of Netscape seem to dislike this when you use it superflously in a table). | |
| This page was given both a background texture and a background color. If the background texture doesn't show, the background color will. | |
Tips and Tricks | |
| To get a really cool effect with your background type bgproperties="fixed" inside of your BODY tag when you have a texture. This will make the background stationary while the page scrolls! | |
| Do NOT use tables with backgrounds of any type when you use the bgproperties="fixed" trick. |
|