CCS: probleme positon image

jamesbel Messages postés 7 Statut Membre -  
yooyoo12 Messages postés 337 Statut Membre -
Bonjour,
je n'arrive pas à mettre ma 3 eme image elle n'apparais pas,qui peut m'aider
voici mon code:
html, body {
margin: 0;
padding: 0;
 
}
body {
font-family: Verdana, sans-serif; 
font-size: 100%;
background-color: url(image de fond site.jpg); 
 }
 a:link {
font-family:verdana, sans-serif;
font-size:100%;
color:yellow;
background-color:transparent;
text-decoration:none;
}
a:visited {
font-family:verdana, sans-serif;
font-size:100%;
color:red;
background-color:transparent;
text-decoration:none;
}
a:hover {
font-family:verdana, sans-serif;
font-size:100%;
color:#ffa500;
background-color:transparent;
text-decoration:underline;
}  

#banniere
{
background-image:url(banniere2.png);
width:719px;
height:146px;
position:relative;
  top:20px;
   margin:auto;
   
	
 }
#stand{
background-image:url(stand.png);
width:480px;
height:269px;
position:relative;
  top:40px;
   margin:auto;
}
#fromage{
background-image:url(fromage2.gif);
width:300px;
height:283px;
position:relative;
  right:5px;
  left:5px;
  

3 réponses

yooyoo12 Messages postés 337 Statut Membre 18
 
salut:
background-color: url(image de fond site.jpg);


ceci n'est pas une adresse :O
0
jamesbel Messages postés 7 Statut Membre
 
au lieu de me dire 0 tu ferais mieux de m'expliquer
0
yooyoo12 Messages postés 337 Statut Membre 18
 
le :0 ne voulais pas dire que je te donne un 0/20 ! mais si tu te penche sa fait un émoticone.
Bref, pour t'aider :

Ne met jamais de chiffre dans t'es lien d'images !

Ensuite remplace :
background-color: url(image de fond site.jpg);
Par:
background-images: url("image_fond.jpg");
N'oublie pas de renommer ton image ! PAS DE CHIFFRE.

Remplace :
background-image:url(banniere2.png);
Par :
background-image: url('banniere_deux.png");

Remplace :
background-image:url(stand.png);
Par:
background-image: url("stand.png");

Remplace :
background-image:url(fromage2.gif);
Par
background-image: url("fromage_deux.gif");

Voilà :) n'oublie pas les guillemet, si sa ne marche pas, enlève les on sait jamais.
Pour le premier lien de ton image (l'image du fond), tu avait mis background-color, qui lui defini une couleur et non l'image, ensuite pour la plupart des liens tu as mis des chiffre et pour un autre, j'ai rajouté les guillemets.
0