|
|
|
|
tag de base à associer, pour spécifier les propriétés suivantes | |
voir page 07a |
Couleur du texte
h4 {color: blue} h4 {color: #ff0000;} h4 {color: rgb(0,0,255) ; } h4 {color: rgb(0%,0%,100%) ;} |
-en code langue
anglaise -en code hexadécimal -en code rgb 16 bits |
|
|
|
|
Pour définir une valeur globale body {background: white; } | idem que color texte |
voir page 08a |
Définit la couleur de fond du document h2 { background-color: #ffffcc ;} | - en anglais - en numérique |
voir page 08b |
Spécifie une image de fond body { background-image: tigre.jpg"; } | - jpg - gif - npg : pas encore accepté par tout les outils. |
voir page 08c |
Définit la façon de répéter l'image de fond body { background-repeat: no-repeat; } | - repeat - no-repeat - repeat-x - repeat-y |
voir page 8d |
Spécifie si l'image de fond est attachée au texte de premier plan ou si elle est fixée sur le fond. body { background-attachment: scroll; } | - scroll - fixed |
Voir page 8e |
Permet de spécifier la position de l'image de fond par rapport à l'angle supérieur gauche p { background-position: center; } | - top ou center ou bottom - center ou left ou right |