The background refers not to the background of the entire page, but to the background of a particular tag. In other words, you can change the background of any element—including images, form elements, and tables.
To change the background color or image:
1. |
Type background:. |
2. |
Type transparent or color, where color is a color name or hex color. |
3. |
If desired, type url(image.gif), to use an image for the background. If desired, type repeat to tile the image both horizontally and vertically, repeat-x to tile the image only horizontally, repeat-y to tile the image only vertically, or no-repeat to not tile the image. If desired, type fixed or scroll to determine whether the background should scroll along with the canvas. If desired, type x y to set the position of the background image, where x and y can be expressed as a percentage or as an absolute distance. Or use values of top, center, or bottom for x and left, center, and right for y. |