Bonjour a tous,
Voila j'ai un soucis avec un border sur un les css d'une image.
La page sur laquelle je bosse se trouve ici :
http://technopujades.free.fr/nouveau...hp?rub=bricole
Comme vous pouvez vous en rendre compte, l'encadrement vert #009900 ne se fait pas lors du passage de la souris dessus.
J'ai le même soucis sur cette page mais je verrais plus tard car c'est le même problème qui est à l'origine ...
http://technopujades.free.fr/nouveau...t.php?rub=docs
Voici le morceau de code de la page en question :
Et voici le fichier entier css au niveau des images :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <div class="photo punaise200"> <a href="<?php echo"pg-support.php?rub=maquette-picaxe"; ?>"> <span></span> <img src="../contenu-rub/bricole/picaxe.jpg"/></a> </div>
Cela fait plus de 2h que je tourne en boucle sur se soucis et la je commence a bouillir !!! Si quelqu'un a une idée ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185 /*Liste des styles images ******************************* */ /* ---------------------------- Image Soustitre ---------------------------- */ .image_soustitre { border: 0; margin: 0 10 0 0px; background-color: #FFF; padding: 0; } .image_soustitre:hover { border : 0; margin : 0 10 0 0px; background-color : #FFF; padding : 0; } /* ---------------------------- Image banale rose ---------------------------- */ .img2 { background: #fff; border: solid 1px; padding: 4px; border-color: #CC66CC; } /* ---------------------------- Image banale blanc ---------------------------- */ .img3 { background: #fff; border: solid 1px; padding: 4px; border-color: #FFFFFF; } /* ---------------------------- Image banale verte + lien ---------------------------- */ .img { background: #fff; border: solid 1px #ccc; padding: 4px; } .img:hover { background: #fff; border: solid 1px #009900; padding: 4px; } .img-g { background: #fff; border: solid 1px #ccc; padding: 4px; margin: 10px 10px 10px 0px; float:left; } .img-g:hover { background: #fff; border: solid 1px #996600; padding: 4px; margin: 10px 10px 10px 0px; float:left; } .img-d { background: #fff; border: solid 1px #ccc; padding: 4px; margin: 10px 0px 10px 10px; float:right; } .img-d:hover { background: #fff; border: solid 1px #996600; padding: 4px; margin: 10px 0px 10px 10px; float:right; } /* ---------------------------- Decorative gallery ---------------------------- */ .photo { font-family: Verdana, "Trebuchet MS", Arial, Helvetica; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; color: #cccccc; margin: 0px 0px 0px 0px; padding-bottom: 10px; position: relative; } .photo img { background: #fff; border: solid 1px #ccc; padding: 4px; } .photo:hover img { background: #fff; border: solid 1px #009900; padding: 4px; } .photo span { width: 20px; height: 18px; display: block; position: absolute; top: -12px; left: -12px; } .photo a { text-decoration: none; } /* -- Trombone -- */ .trombone span { width: 30px; height: 60px; display: block; position: absolute; top: -5px; left: 30px; background: url(trombone.gif) no-repeat; } /* -- Video -- */ .video span { width: 20px; height: 18px; display: block; position: absolute; top: 12px; left: 12px; background: url(cam.gif) no-repeat; } /* -- Punaise -- */ .punaise200 span { width: 22px; height: 30px; display: block; position: absolute; top: -15px; left: 110px; background: url(punaise.png) no-repeat; }
Un grand merci d'avance !
Pascal
Partager