Bonjour,
voici mon code :
Problème : Hover fonctionne, mais visited et active ne fonctionne pas sur Google chrome et Firefox !
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 <style> #menu { width: 145px; height: 60px; border-style: solid solid none solid; border-color: #94AA74; border-size: 1px; border-width: 1px; margin: 2px; margin-top: 8px; font-family: Verdana, arial, helvetica, sans-serif; font-size: 12px; } #menu li a { height: 20px; voice-family: "\"}\""; voice-family: inherit; height: 16px; text-decoration: none; padding-left:10px; padding-right:0; padding-top:6px; padding-bottom:6px; } #menu li a:link, #menu li a:visited { color: #051CCA; display: block; background: url('images/menu1.gif'); padding-left:10px; padding-right:0; padding-top:2px; padding-bottom:2px; } #menu li a:hover { color: #D5F7EF; background: url('images/menu1.gif') 0 -20px; padding-left:10px; padding-right:0; padding-top:2px; padding-bottom:2px; } #menu li a:active { color: #FFFFFF; background: url('images/menu1.gif') 0 -40px; padding-left:10px; padding-right:0; padding-top:2px; padding-bottom:2px; } #menu ul { list-style: none; margin: 0px; padding: 0px; } .bt1 { width : auto; font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 11px; text-align : center; font-weight : bold; color : #ffffff; background-color : #8BADCB; padding-top : 2px; padding-bottom : 4px; padding-left : 0px; border-left: 5px solid #5781AE; border-right: 5px solid #5781AE; display : block; } </style>
où se trouve mon erreur ?
avec IE çà fonctionne (on voit bien que le bouton est actif après avoir accès à la page):
Merci d'avance pour votre aide
Partager