Bonjour a tous
J'ai dans un dossier 'accessoire':
une image
chariot.png
accessoire.php
accessoire.cssCode:
1
2
3 <div id="access" > <img id="panier" src="chariot.png" alt="panier" /> </div>
Avec leCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 @charset "utf-8"; /* CSS Document */ #access{ /*position: relative;*/ margin-top:10px; margin-left:0px: float:left; width:100px; height:500px; border:0.5px solid blue; } #panier{ display:block; position: relative; margin:auto; margin-top:10px; height: 80px; width: 80px; background-image: url("chariot.png"); background-repeat:no-repeat; /* border:0.5px solid blue;*/ }
L'image s'afficheCode:
1
2 background-image: url("chariot.png"); background-repeat:no-repeat;
mais si je ne l'ai pas, le
ne trouve pas l'image. Je ne vois pas mon erreurCode:<img id="panier" src="chariot.png" alt="panier" />