Salut à tous !
Alors pb sous IE pas sous FF :
Ca marche bien lorsque la souris est sur le menu :
Mais lorsque la souris vient sur le sousmenu, la taille du bloc redevient la taille du menu !
Conclusion c moche !
voila mon CSS
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 dl, dt, dd, ul, li { margin: 0; padding: 0; list-style-type: none; } #menu { position: absolute; z-index:2; width: 100%; top: 14em; left: 11em; } #menu dl { float: left; margin: 0px; } #menu dt { cursor: pointer; } #menu dd { border: 2px solid #FFFC00; width: auto; display: none; z-index:1; position: absolute; } #menu li { text-align: left; background: #B90105; width: auto; z-index:1; } #menu dt a { display: block; height: 100%; border: 0 none; position: absolute; } #menu li a:hover, #menu dt a:hover { } a { font-weight: bold; font-size: 12px; font-family: "Arial"; text-decoration: none; color: white; } a:hover { text-decoration: none; color: #FFFC00; }
Partager