Me revoilà, je vous avoue qu'il me reste plus qu'un petit problème. Ma galerie marche, tout marche mais je voudrais mettre une barre de scrolling horizontale juste en dessous (d'ailleurs il y a déjà la place qu'est prévue..)
Donc pour voir la bête c'est par là : http://www.philippe-mouchel.fr/test_msr/marques.php.
Et voila le code CSS de la page :
Le code CSS de la galerie :
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425 /* CSS Document */ *{ margin: 0px; padding: 0px; } div { position: relative; } body { background-color: #EFE0EC; } img { border: 0px; } table { border: 0px; } /* Conteneur qui englobe tout pour centrer le site au milieu de la page */ #bloc_site { margin: auto; width: 990px; background-image: url(images/background_bloc/degrade_fond.gif); background-repeat: repeat-y; } /* Bande qui vient à gauche pour le dégradé vertical */ #bord_gauche { width: 35px; height: 200px; float: left; } /* Bloc central qui contient le contenu du site */ #bloc_contenu { width: 920px; float: left; } /* Bloc englobant la bannière et le menu de navigation des espaces */ #bloc_top { width: 920px; } #menu_logo { width: 920px; background-image: url(images/background_bloc/fond_bloc_top.gif); background-repeat: repeat-x; overflow:hidden; } #zone_logo { float: left; width: 268px; height: 107px; } #zone_flash { float: right; width: 372px; height: 107px; } #zone_menutop { float: right; width: 270px; height: 107px; } #menu_logo ul { padding: 0px; margin: -5px 0px 0px 0px; list-style-type: none; } #menu_logo ul li { padding: 0px; margin: 0px; display: inline; vertical-align: middle; } #menu_espace { width: 920px; height: 20px; /* Voir feuille de style corrective pour IE */ padding-top: 5px; /* Voir feuille de style corrective pour IE */ background-image: url(images/background_bloc/fond_menu_espace.gif); background-repeat: repeat-x; font-family: Tahoma; font-size: 10px; color: #FFFFFF; text-transform: uppercase; text-decoration: none; font-weight: bold; text-align: center; letter-spacing: 1px; } #menu_espace ul { padding: 0px; margin: 0px; list-style-type: none; } #menu_espace ul li { padding: 0px; margin: 0px 25px 0px 25px; display: inline; vertical-align: middle; text-align: center; } #menu_espace a:link, #menu_espace a:visited { color: #FFFFFF; font-weight: bold; text-decoration: none; } #menu_espace a:hover { color: #FFFFFF; font-weight: bold; text-decoration: underline; } /* Bloc contenant le menu de gauche de la page d'accueil et des pages concernées */ #bloc_gauche { width: 180px; height: 430px; float: left; background-image: url(images/background_bloc/fond_gauche.jpg); background-repeat: no-repeat; } #bloc_gauche h1 { font-family: Tahoma; font-size: 14px; color: #FFFFFF; text-transform: uppercase; } #bloc_gauche a:link, #bloc_gauche a:visited { font-family: Tahoma; font-size: 12px; color: #FFFFFF; text-transform: uppercase; text-decoration: none; font-weight: bold; } #bloc_gauche a:hover { font-family: Tahoma; font-size: 12px; color: #FF33CC; text-transform: uppercase; text-decoration: none; } #bloc_gauche ul { padding: 0px; margin-left: 10px; margin-top: 8px; list-style-type: none; } #bloc_gauche ul li { padding: 1px 0px 1px 0px; margin: 0px; vertical-align: middle; } #liste_marque_accueil { margin: 15px 0px 0px 10px; } #liste_marque_accueil a:link, #liste_marque_accueil a:visited { color: #4A4A4A; font-family: Tahoma; font-size: 11px; text-decoration: none; text-transform: none; font-weight: bold; } #liste_marque_accueil a:hover { color: #4A4A4A; font-family: Tahoma; font-size: 11px; text-decoration: underline; font-weight: bold; } #liste_marque_accueil ul { list-style-type: none; font-family: Tahoma; font-size: 11px; color: #4A4A4A; } #liste_marque_accueil ul li { padding: 0px; margin: 7px 0px 0px 0px; /* Voir feuille de style corrective pour IE */ } /* Bloc contenant les éléments centraux de la page d'accueil et des pages concernées */ #bloc_centre { width: 740px; height: 430px; float: right; background-color: #707070; } /* Bloc contenant les éléments centraux de la page de galerie d'articles */ #bloc_galerie { width: 920px; background-color: #707070; } #titre_galerie { width: 890px; height: 32px; font-family: Tahoma; font-size :11px; color: #FFFFFF; margin: 0px 15px 0px 15px; } #titre_galerie a:link, #titre_galerie a:visited { color: #FFFFFF; text-decoration: underline; } #titre_galerie a:hover { color: #FF33CC; text-decoration: underline; } #titre_galerie h1 { font-family: Tahoma; font-size: 16px; color:#FFFFFF; font-weight: bold; } #titre_galerie input, #titre_galerie select { font-family: Tahoma; font-size :12px; border: #CCC 1px solid; } .texte_rose { color: #FF33CC; } #titre_galerie td { vertical-align: middle; } #g_left { text-align: left; } #g_center { text-align: center; width: 32%; } #g_right { float: right; /* Voir feuille de style corrective pour IE */ } #menu_galerie { width: 920px; height: 33px; } #galerie_mg { float: left; width: 44px; height: 33px; background-image: url(images/background_bloc/bord_gauche_barre_menu.gif); background-repeat: no-repeat; } #galerie_mm { float: right; width: 832px; height: 33px; background-image: url(images/background_bloc/fond_barre_menu.gif); background-repeat: repeat-x; } #galerie_mm ul { list-style-type: none; margin: 7px 0px 0px 0px; padding: 0px; } #galerie_mm ul li { display: inline; margin: 0px; padding: 0px; /* Voir feuille de style corrective pour IE */ } #galerie_md { float: right; width: 44px; height: 33px; background-image: url(images/background_bloc/bord_droit_barre_menu.gif); background-repeat: no-repeat; } #contenu_galerie { width: 920px; /* -------------------------------------------------------------- */ height: 406px; /* voir msr_slideshow.css pour les blocs spécifiques à la galerie */ background-color: #FFFFFF; /* -------------------------------------------------------------- */ overflow: hidden; } /* Bloc contenant le pied de la page */ #bloc_bottom { width: 920px; clear: both; text-align: center; background-color: #FFFFFF; } #menu_bottom { background-color: #666666; font-family: Tahoma; font-size: 11px; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; padding: 5px 20px 5px 20px; border-top: 1px solid #BBBBBB; border-bottom: 1px solid #BBBBBB; } #menu_bottom a:link, #menu_bottom a:visited { color: #FFFFFF; text-decoration: none; letter-spacing: 1px; } #menu_bottom a:hover { color: #FFFFFF; text-decoration: underline; letter-spacing: 1px; } #menu_bottom ul { padding: 0px; margin: 0px; list-style-type: none; } #menu_bottom ul li { padding: 0px; margin: 0px 15px 0px 15px; display: inline; text-align: center; } #copyright { background-image: url(images/background_bloc/fond_liste_mots.jpg); background-repeat: no-repeat; font-family: Tahoma; font-size: 11px; color: #666666; text-decoration: none; letter-spacing: 1px; padding: 10px 0px 5px 0px; margin-top: 6px; } #copyright a:link, #copyright a:visited { text-decoration: underline; color: #666666; } #copyright a:hover { text-decoration: underline; color: #000000; } #referencement { color: #999999; font-size: 9px; font-family: Tahoma; padding: 5px 30px 5px 30px; text-transform: capitalize; /* pour mettre la première lettre de chaque mot en majuscule */ } #referencement a:link, #referencement a:visited { text-decoration: none; color: #999999; } #referencement a:hover { text-decoration: underline; color: #333333; } /* Bande qui vient à droite pour le dégradé vertical */ #bord_droit { width: 35px; float: right; } #bord_droit ul { padding: 0px; margin: 20px 0px 0px 0px; list-style-type: none; } #bord_droit ul li { padding: 0px; margin-bottom: -5px; /* Voir feuille de style corrective pour IE */ }
et le PHP pour générer ma page :
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 /* CSS Document */ #arrow_left { position: absolute; left: 0px; z-index: 10; cursor: pointer; } #arrow_right { position: absolute; right: 0px; z-index: 10; cursor: pointer; } #theImages { position: absolute; height: 390px; left: 38px; width: 3150px; } #theImages #slideEnd { float: left; } #theImages img { float: left; /*filter: alpha(opacity=50);*/ /*opacity: 0.5;*/ } #theImages .imageCaption { display: none; } .conteneurArticle { float: left; height: 406px; width: 210px; font-family: Tahoma; font-size: 11px; text-align: center; } .conteneurImage { width: 210px; height: 315px; } .conteneurImage img { width: 210px; height: 315px; } .conteneurModel { width: 210px; height: 37px; line-height: 37px; vertical-align: middle; background-image: url(images/background_bloc/fond_nom_vetement.gif); background-repeat: repeat-x; color: #F6F6F6; } .conteneurModel a:link, .conteneurModel a:visited { font-weight: bold; text-decoration: none; color: #FFFFFF } .conteneurModel a:hover { text-decoration: underline; } .conteneurPrix { width: 210px; height: 20px; line-height: 20px; vertical-align: middle; background-color: #9B9B9B; color: #F6F6F6; } .conteneurPrix a:link, .conteneurPrix a:visited { font-weight: bold; text-decoration: underline; color: #5A5A5A } .conteneurPrix a:hover { color: #333333; } .conteneurMark { width: 210px; height: 19px; line-height: 19px; vertical-align: middle; background-color: #9B9B9B; color: #F6F6F6; } .conteneurMark a:link, .conteneurMark a:visited { text-decoration: underline; color: #5A5A5A } .conteneurMark a:hover { color: #333333; }
Merci par avance et pour tout ce que vous avez déjà fait pour moi !!
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 <?php require 'connect_MSR.php'; // Gnération de la galerie d'image de la page $tab_img = array (32,34,35,37,38,39,45,46,47,50,51,54,55,58,59); $galerie = ''; foreach ($tab_img as $img) { $prix_img = $img + $img + $img; $galerie .= '<div class="conteneurArticle" id="a'.$img.'">'; $galerie .= '<div class="conteneurImage" id="i'.$img.'"><a href="./marques.php" title="Test '.$img.'"><img src="img-collection/100'.$img.'-01-b.jpg" alt="Test '.$img.'" /></a></div>'; $galerie .= '<div class="conteneurModel" id="mo'.$img.'"><a href="./marques.php" title="Test '.$img.'">Test '.$img.'</a></div>'; $galerie .= '<div class="conteneurPrix" id="p'.$img.'"><a href="./marques.php" title="Test '.$img.'">'.$prix_img.' €</a></div>'; $galerie .= '<div class="conteneurMark" id="ma'.$img.'"><a href="./marques.php" title="Test '.$img.'">Maje</a></div>'; $galerie .= '</div>'; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="generator" content="PSPad editor, www.pspad.com" /> <title>MONSHOWROOM.COM - Vente en ligne de prêt-à-porter, accessoires et bijoux pour femme</title> <link href="./msr_style.css" rel="stylesheet" type="text/css" /> <link href="./msr_slideshow.css" rel="stylesheet" type="text/css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="./msr_style_ie_correctifs.css" /> <![endif]--> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="./msr_style_ie6_correctifs.css" /> <![endif]--> <script type="text/javascript" src="js/image-slideshow.js"></script> <script type="text/javascript" src="./ieupdate.js"></script> </head> <body> <div id="bloc_site"> <div id="bord_gauche"></div> <div id="bloc_contenu"> <div id="bloc_top"><?php include "_top.php" ?></div> <div id="bloc_galerie"> <div id="titre_galerie"> <table width="890"><tr> <td id="g_left"><a href="./marques.php">Nouvelle collection</a> > <a href="./marques.php">Maje</a> > <a href="./marques.php">Robes</a> > <span class="texte_rose">Rose</span></td> <td id="g_center"><h1>Maje</h1></td> <td id="g_right"> <table><tr> <td><a href="./marques.php">30 par page</a></td> <td><img src="./images/element_bloc/fleche_pagi_grise-g.gif" alt="<<" /></td> <td><select name="page" id="page"> <option value="0">page 01/05</option> <option value="1">page 02/05</option> <option value="2">page 03/05</option> <option value="3">page 04/05</option> <option value="4">page 05/05</option> </select></td> <td><a href="./marques.php"><img src="./images/element_bloc/fleche_pagi_rose-d.gif" alt=">>" /></a></td> </tr></table> </td> </tr></table> </div> <div id="menu_galerie"> <div id="galerie_mg"></div> <div id="galerie_md"></div> <div id="galerie_mm"> <ul> <li><img src="./images/element_bloc/critere_recherche.gif" alt="Votre recherche" /></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_marque.gif" alt="Marque" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_categorie.gif" alt="Catégorie" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_couleur.gif" alt="Couleur" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_prix.gif" alt="Prix" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_trier.gif" alt="Options de tri" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/separation_menu_recherche.gif" alt="rien" style="width: 120px" /></a></li> <li><a href="./marques.php"><img src="./images/element_bloc/bouton_recherche_avancee.gif" alt="Recherche avancée" /></a></li> </ul> </div> </div> <div id="contenu_galerie"> <div id="arrow_left"><img src="./images/element_bloc/fleche_defilement_gauche.jpg" alt="Vers la gauche" /></div> <div id="arrow_right"><img src="./images/element_bloc/fleche_defilement_droit.jpg" alt="Vers la droite" /></div> <div id="theImages"> <?php echo $galerie ?> <div id="slideEnd"></div> </div> </div> </div> <div id="bloc_bottom"><?php include "_bottom.php" ?></div> </div> <div id="bord_droit"><?php include "_drapeau.php" ?></div> </div> </body> </html>
Partager