rgb(100%,100%,100%)

This color declaration sets the level of red to its maximum, blue tomaximum, and green the same. These combine to create white, which is,after all, the combination of all colors. Alternatively, in order tospecify black -- the absence of color -- all three would be setto 0%. Here are a few more color declarations:

H1 {color: rgb(0%,0%,0%);}          /*black*/H2 {color: rgb(50%,50%,50%);}       /*medium gray*/H3 {color: rgb(25%,66%,40%);}
Sunday 28th of May 2017 06:26:20 PM

centered

This area should be horizontally and vertically centered.
This text stays left aligned
ie mac doesn't like this!
more nice and free css templates


css

BODY {background-image: url(yinyang.gif);
background-repeat: no-repeat;}

This may not seem terribly useful, given that there is only a small symbol in the top left corner of the document, but let's try it again with a much bigger symbol, as shown in Figure 6-33:

Figure 6-33

Figure 6-33. Placing a single, large backround image

BODY {background-image: url(bigyinyang.gif);
background-repeat: no-repeat;}