Bonsoir dans cette page je voudrais http://asm.alyzes.com/formulaire.htmlpouvoir mettre l'image d'une carte grise
et comme cela indiqué où l'on peut trouver les indications à remplir pouvez vous m'aider merci

18067 sujets
a écrit :
#monfond {
width: 111px;
background: url (tonimage.gif) repeat-y;
margin-left: auto; margin-right: auto;
}
a écrit :
background: url (tonimage.gif) repeat-y;
a écrit :
background: url (tonimage.gif) no-repeat;
<style type="text/css">
/*Un style universel*/
* {margin: 0;padding: 0;}
/*Mon corps*/
body {
font-family: Century Gothic
font-size: 0.8em;
margin: 0;
padding: 0;
background-color: #CCCCFF;
}
/*Ma tête*/
#header {
height: 100px;
background-color: #999999;
text-align : center
color :#0000CC
font-size : bold
margin-right: 0px;
}
/*Mon contenu*/
#conteneur {
position: relative;
width: 870px;
margin: 0 auto;
background-color:#CCCCFF;
}
#centre {
background-color:#9999CC;
margin-left: 150px;
margin-right: 0px;}
#carte{
background: url (images/cartegrise007.jpg) no-repeat;}
/*Mon formulaire*/
input, textarea
{font-family: "Century Gothic"; /* On modifie la police du texte tapé l'intérieur des champs */}
input:focus, textarea:focus /* Quand le curseur est sur un champ (ne marche pas sur IE) */
{background-color: #FFFF99;}
label{color: blue; /* Colorer en bleu tous les labels */}
legend /* On met un peu plus en valeur les titres des rubriques*/{font-family: Century Gothic;font-weight: bold;}
fieldset
{margin-bottom: 15px; /* Une marge pour séparer les Titres des rubriques */background-color: #FFFFCC}
#gauche {
position: absolute;
left:0;
width: 150px;
}
/*Mon pied de page*/
#pied {
height: 30px;
background-color:#0033FF;
font-family: Century Gothic
text-align : center
width: 860px;
}
/* Les menus*/
.menugauche {
list-style-type: none;
margin: 0;
padding:0;}
.menugauche li {margin-bottom: 5px;}
.menugauche a {
margin: 0 2px;
color: #0000CC
text-decoration: underline;
font-weight : bold
font-family: Century Gothic}
.menugauche a:hover {text-decoration: none;}
p {margin: 0 0 10px 0;}
/*Les Styles*/
.Style1 {font-family: "Century Gothic";font-weight: bold;color: #0000CC;}
.Style4 {font-family: "Century Gothic"; font-weight: bold; font-size: 9px; color: #0000CC;}
.Style6 {
font-family: "Century Gothic";
font-weight: bold;
color: #CCCCCC;
font-size: 10px;
}
/*Les liens*/
a:link {text-decoration: none;color: #0000CC;}
a:visited {text-decoration: none;color: #0000CC;}
a:hover {text-decoration: none;color: #0000CC;}
a:active {text-decoration: none;color: #FFFF00;}
</style>
</head>
<body>
<div id="carte">
<fieldset>
<legend class="Style1">Références</legend>
<!-- Titre de la catégorie -->
<label>Carte grise<br />
<input type="text" name="N°carte grise" tabindex="50" />
</label><br />
<label>Chassis<br />
<input type="text" name="chassis" tabindex="60" />
</label><br />
<label>Série<br />
<input type="text" name="serie" tabindex="70" />
</label>
</fieldset>
</div>
matmat a écrit :Pas vraiment, en fait, puisque les valeurs non précisées de background sont initialisées à leurs valeurs par défaut. Par exemple :
Une ligne css comme
background: #fff url(images.gif) no-repeat top left;
est en fait une abréviation de:
background-color: #fff;
background-image:url(images.gif);
background-repeat:no-repeat;
background-position:top left;
body {background: red; background: url(img.jpg) no-repeat;}
n'est pas équivalent àbody {background: red url(img.jpg) no-repeat;}
L'amour est dans le <pre> !
(Chuck Bartowski)