Propriétés | Valeur | ||
---|---|---|---|
Valeur initiale | Appliquée à | Héritée | valeur % |
'color' | <color> | ||
UA specific | all elements | oui | N/A |
'background-color' | <color> | transparent | ||
transparent | all elements | no | N/A |
'background-image' | <url> | none | ||
none | all elements | no | N/A |
'background-repeat' | repeat | repeat-x | repeat-y | no-repeat | ||
repeat | all elements | no | N/A |
'background-attachement' | scroll | fixed | ||
scroll | all elements | no | N/A |
'background-position' | [ <percentage> | <length> ] {1,2} | [ top | center | bottom ] || [ left | center | right ] | ||
0% 0% | block-level and replaced elements | no | refered to the size of the element itself |
'background' | <background-color> || <background-image> || <background-repeat> || <background-attachement> || <background-position> | ||
not defined for shorthand properties | all elements | no | allowed on <background-position> |
color: color
Set the color of the text. Read more about available colors in the Textstyles-chapter.
background: URL(url)|color
Defines the background, either a picture defined by its URL or a color. See the Textstyles-chapter for information about available colors. As you can see, an URL should be written within parentheses.
Christophe Merlet redfox@redfoxcenter.org | ©Tous droits réservés
11 août 1997 |