Bonjour a tous.
Je suis en train de coder un site extensible avec des arrondis mais je n'arrive pas du tout sur le menu.
Cela fait plusieurs heures que je me bats avec et sans résultats.
Voici le résultat: Voir Ici
Je le trouve très bizarre sous IE comme sous FF
Voici mes codes.
XHTML: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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 <!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" > <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" media="screen" type="text/css" title="Design" href="test.css" /> </head> <body> <!-- ***** La bannière ***** --> <div id="banniere"> </div> <!-- ***** La speed_barre ***** --> <div id="speed_barre"> <ul> <li> <a href="#">Accueil </a></li> <li> <a href="#">Forum </a></li> <li> <a href="#">Chat' </a></li> <li> <a href="#">Livre d'or </a></li> <li> <a href="#">L'équipe </a></li> <li> <a href="#">Nous contacter </a></li> <li> <a href="#">S'inscrire </a></li> <li> <a href="#">Se connecter </a></li> </ul> </div> <div id="menu"> <div class="haut_gauche_menu"> </div> <div class="haut_menu"> <h3> Tutoriels </h3> </div> <div class="haut_droite_menu"> </div> <div class="contenu_menu"> <ul> <li> <a href="#">Tuto n°1 </a></li> <li> <a href="#">Tuto n°2 </a></li> <li> <a href="#">Tuto n°3 </a></li> <li> <a href="#">Tuto n°4 </a></li> </ul> </div> <div class="bas_gauche_menu"> </div> <div class="bas_menu"> </div> <div class="bas_droite_menu"> </div> </div> <p> <br/> </p> </body> </html>
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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191 /* La bannière */ #banniere { height:88px; width:579px; background-image:url("logo.png"); margin:auto; } /* La speed barre */ #speed_barre { margin-left:19%; margin-top:3%; margin-bottom: 5%; } #speed_barre li { display:inline; padding:1px; } #speed_barre ul { list-style-type:none; } #speed_barre a { height:100px; width:auto; background-color:#E2E2E2; color:navy; padding-left:4px; padding-right:4px; padding-top:8px; padding-bottom:8px; text-decoration:none; font-weight:700; font-size:15px; } #speed_barre a:hover { height:auto; width:auto; background-color:#C4CDD9; color: #FFA500; text-decoration:none; font-weight:700; font-size:15px; } /* ************************ MENU ************************************** **/ .haut_gauche_menu { height: 21px; width: 26px; background-image: url("image/menu_01.gif"); float: left; /* Pour bien mettre l'image a gauche */ } .haut_droite_menu { float: left; height: 21px; width: 22px; background-image: url("image/menu_05.gif"); } .haut_menu { float: left; margin-left: 0px; /* A modifier en fonction des marges */ height: 21px; width: 13%; background-image: url("image/menu_03.gif"); } /* Contenu menu */ .contenu_menu { height:auto; width:16.5% !important; width:16.7%; background-color:#E2E2E2; margin-left: 0.4%; margin-top:1.9%; margin-right:0%; } /* Bas menu */ .bas_gauche_menu { height: 16px; width: 19px; background-image: url("image/bas_menu_02.gif"); float: left; /* Pour bien mettre l'image a gauche */ margin-left: 1px; } .bas_droite_menu { float: left; height: 16px; width: 22px; background-image: url("image/bas_menu_06.gif"); } .bas_menu { float: left; margin-left: 0px; /* A modifier en fonction des marges */ height: 16px; width: 13%; background-image: url("image/bas_menu_04.gif"); } #menu ul { margin: 0px; padding: 0px; list-style-type: none; } #menu li { text-align: center; } #menu a { background-color:#E2E2E2; color:navy; text-decoration :none; font-weight: 700; display: block; width: 100%; } #menu a:hover { background-color:#C4CDD9; color: #FFA500; } #menu { margin-left: 2%; float: left; } h3 { margin: 0px; color: white; text-align: center; font-size: 16px; padding-top: 1px; }
Merci d'avance pour votre aide car je sèche.
Cordialement.
. : Sword' : .
Partager