Bonjour
J'ai un code pour agrandir les images qui fonctionne, mais j'aimerai lui apporter une modification c'est à dire:
lorsque l'image sa grandir je voudrais que les images se positionne au milieu de l'écran.
Mon code:
Je vous remercie
Code HTML : 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 <!DOCTYPE html> <html> <head> <style> body { font-family: Arial, Helvetica, sans-serif; background: #000; } img { transition: transform 0.25s ease; } img:hover { -webkit-transform: scale(2.0); transform: scale(2.0); } table { border: thin dotted #575b60; border-collapse: collapse; width: 60%; margin-left: 250px; margin-top: 150px; } td { border: thin dotted #575b60; height: 30px; text-align: center; background-color: #000; } </style> </head> <body> <table> <tr> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> </tr> <tr> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> </tr> <tr> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> <td> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/73/Lion_waiting_in_Namibia.jpg" height="150" width="300" /> </a> </td> </tr> </table> </body> </html>
Max
Partager