gM
Retour / Back
Html/CSS/JavaScript - Propriétés de Couleurs /
Html/CSS/JavaScript - Color Properties

 Couleurs sauf Scrollbars (Fond d'écran, DropDown, ComboBox) (Propriétés ScrollBars Propriétés hors Colors) :
Affectation Html CSS JavaScript
Couleur du texte color=black color:black; color
Couleur d'arrière plan bgcolor=yellow background-color:yellow; backgroundColor
Couleur de bordure bordercolor="black" border-color:#333399 solid; -
Image de fond d'écran background="img/dot.gif" - -
image de fond -pas de mosaique - background-repeat:no-repeat;
(background-repeat:repeat:)
-
image de fond -position - background-position:right bottom;
background-position:0% 50%;
background-position:center center;
-
image de fond -pas de scroll bgproperties="fixed" background-attachement:fixed;
(background-attachment:scroll;)
-
Ces paramètres s'appliquent au fond d'écran, mais aussi aux fonds secondaires : cellule de tableau, de textarea, de listes déroulantes, etc.

Liens CSS-ScrollBar (-MicroSoft-> Html/CSS chez MS) :
http://msdn.microsoft.com/library/default.asp?url=workshop/author/dhtml/reference/properties/scrollbarbasecolor.asp
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollbarColor.htm
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollbarBaseColor.htm
http://www.ksurf.net/~bermania/web/css/csspro_scrollbars.html
http://iubito.free.fr/prog/scrollbar2.htm
http://www.asp-php.net/tutorial/html/scrollbars.php

 ScrollBar Colors (CSS) (Propriétés hors ScrollBars Propriétés hors Colors) :
Affectation CSS JavaScript
équivalent à face+track scrollbar-base-color:yellow; scrollbarBaseColor
ascenseur (s'il y a) & intérieur des 2 carrés
-argent si absent
| scrollbar-face-color:yellow; scrollbarFaceColor
piste d'ascenseur ou piste complète lorsque vide
-bgcolor si absent
| scrollbar-track-color:gold; scrollbarTrackColor
flèches lorsqu'ascenseur -noir si absent scrollbar-arrow-color:gold; scrollbarArrowColor
ombre droite et inférieure intérieure de l'ascenseur
& des 2 carrés (+flèches si pas d'asc.) -gris si absent
scrollbar-shadow-color:yellow; scrollbarShadowColor
ombre droite et inférieure extérieure de l'ascenseur
& des carrés -noir si absent
scrollbar-darkshadow-color:yellow; scrollbarDarkShadowColor
ombre gauche et supérieure intérieure de l'ascenseur
& des 2 carrés -blanc si absent
scrollbar-3dlight-color:gold; scrollbar3dLightColor
ombre gauche et supérieure extérieure de l'ascenseur
& des 2 carrés -blanc si absent
scrollbar-highlight-color:yellow; scrollbarHighlightColor
  ... si ascenseur = moins de la moitié de la piste, fond bleu de la piste "non utile"
. Ces paramètres ScrollBar s'appliquent aux barres de défilement verticale et horizontale de la page Web, mais aussi à des scrollbars secondaires : de cellule de tableau, de textarea, etc. mais pas aux listes déroulantes.
. La coloration de scrollbars ne fonctionne qu'avec Internet Explorer >= 5.5.