Bonjour,
Je cherche à améliorer un code qui permet de zoomer sur une image dans une galerie avec un lien vers le site correspondant. ça marche mais mon problème, c'est que je souhaite qu'au zoom les autres images restent fixent en arrière plan. Je bute là-dessus.
Voici le code :
Ce que ça donne actuellement en image (décalages) :
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 <!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="fr" lang="fr"> <head> <style type="text/css"> <!-- .zoom { height:400px; margin:auto; } .zoom p { text-align:center; } .zoom img { width:232px; height:275px; } .zoom img:hover { width:250px; height:296px; } --> </style> </head> <body> <div class="zoom"> <center> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span><br> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> <span Title="PIERRES-INFO"><a href="http://www.pierres-info.fr/accueil/index.html"><img src="antoine_fargette.jpg"></a></span> </center> </div> </body> </html
Merci pour votre aide
ROMAIN
Partager