Bonsoir,
Je sais que le topic est un peu présent partout sur le forum. Mais impossible de trouver ce que je souhaite faire.
Je résume :
j'ai une image sur laquelle, j'ai placé sur chaque signe une copie du signe découper avec PS CS5. Chaque signe est un DIV et j'ai placer tout ça avec un css.
Le souci que j'ai maintenant, c'est que lorsque je passe ou cli sur le signe, je souhaite charger une image de la flamme située au dessus mais elle sera d'une autre couleur.
Vous trouverez ci-dessous les codes de ma pages web et du la page CSS.
CODE Page Web :
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Saint Seiya Ultimate</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <!--Bélier--> <div id="belier"> <a href="#"> <img id="belier" src="belier.png" width="61" height="31" /></a> </div> <!--Taureau--> <div id="taureau"> <a href="#"> <img src="taureau.png" width="63" height="54" /></a> </div> <!--Gémeaux--> <div id="gemeaux"> <a href="#"> <img src="gémeaux.png" width="57" height="65" /></a> </div> <!--Cancer--> <div id="cancer"> <a href="#"> <img src="cancer.png" width="35" height="64" /> </a> </div> <!--Lyon--> <div id="lyon"> <a href="#"> <img src="lyon.png" width="56" height="62" /> </a> </div> <!--Vierge--> <div id="vierge"> <a href="#"> <img src="vierge.png" width="62" height="56" /></a> </div> <!--Balance--> <div id="balance"><a href="#"><img src="balance.png" width="63" height="32" /></a> </div> <!--Scorpion--> <div id="scorpion"><a href="#"><img src="scorpion.png" width="62" height="54" /></a> </div> <!--Sagitaire--> <div id="sagitaire"> <a href="#"> <img src="sagitaire.png" width="55" height="65" /></a> </div> <!--Capricorne--> <div id="capricorne"> <a href="#"> <img src="capircorne.png" width="33" height="63" /></a> </div> <!--Verseau--> <div id="verseau"><a href="#"><img src="verseau.png" width="57" height="64" /></a> </div> <!--Poisson--> <div id="poisson"><img src="poisson.png" width="65" height="57" /> </div> </body> </html>
CODE Page CSS
J'espère avoir été le plus clair possible. Si vous avez besoin d'autres informations, ne pas hésiter à me demander !
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 body { background-color: #fff; background:url(horloge.png) top left no-repeat; } #belier{width:61px;height:31px;margin-top:62px;margin-left:109px;} #taureau{width:61px;height:31px;margin-top:34px;margin-left:277px ;} #gemeaux{width:61px;height:31px;margin-top:4px;margin-left:321px ;} #cancer{width:61px;height:31px;margin-top:29px;margin-left:343px ;} #lyon{width:61px;height:31px;margin-top:32px;margin-left:319px ;} #vierge{width:61px;height:31px;margin-top:9px;margin-left:277px ;} #balance{width:61px;height:31px;margin-top:-5px;margin-left:215px ;} #scorpion{width:61px;height:31px;margin-top:-55px;margin-left:157px ;} #sagitaire{width:61px;height:31px;margin-top:-76px;margin-left:120px ;} #capricorne{width:61px;height:31px;margin-top:-89px;margin-left:118px ;} #verseau{width:61px;height:31px;margin-top:-94px;margin-left:119px ;} #poisson{width:61px;height:31px;margin-top:-67px;margin-left:156px ;}
Merci d'avance !
Partager