Fermer fl Glossaire fl CSS
Glossaire

sp  sp   sp
Technique : CSS
Background
Internet Explorer Netscape Opera Mozilla
4.0+ 6.0+ 3.0+ oui
La propriété background est une façon condensée de définir toutes les propriétés de fond d'un élément. Une valeur non spécifiée aura sa valeur initiale. Les propriétés de background et color doivent toutes deux être spécifiés.

Propriétés
Syntaxe: background: <valeur>

Valeurs possibles : <background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position>

Valeur initiale : Non définie

S'applique à : Tous les éléments

Inherited : Non
BODY { background: white url(http://www.trucsweb.com/image.gif) }
BLOCKQUOTE { background: #7fffd4 }
P { background: url(../images/image.gif) #f0f8ff fixed }
TABLE { background: #0c0 url(image.gif) no-repeat bottom right }

Conception Oznog co. Multimédia