Bonjour,
Je rencontre un problème avec ce site.
Le problème est que mon menu ne s'affiche pas, il est pourtant présent.
Voici le code CSS de mon menu :
Je me permets d'inclure le code css de ma page index.php :
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
192
193
194
195
196
197
198
199
200
201
202 /*Code css du menu */ #nav { position: relative; top: 0px; left: -1px; margin-bottom: auto; margin-left: auto; margin-right: auto; margin-top: -5px; width: 826px; } #menu { background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: linear-gradient(rgb(68, 68, 68), rgb(17, 17, 17)); background-origin: padding-box; background-position: 0 0; background-repeat: repeat; background-size: auto auto; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; box-shadow: 0 2px 1px rgb(156, 156, 156); list-style-image: none; list-style-position: outside; list-style-type: none; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 10px; width: 100%; } #menu li { float: left; line-height: 0; padding-bottom: 10px; padding-left: 0; padding-right: 0; padding-top: 0; position: relative; } li{ margin-left: -8px; margin-right: -21px; } #menu a { float: left; height: 25px; padding: 0 25px; color: white; text-transform: uppercase; font: bold 11px/25px Arial, Helvetica; text-decoration: none; text-shadow: 0 1px 0 #000; } #menu li:hover > a { color: rgb(250, 250, 250); } #menu li:hover > ul { display: block; } #menu ul { background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: linear-gradient(rgb(68, 68, 68), rgb(17, 17, 17)); background-origin: padding-box; background-position: 0 0; background-repeat: repeat; background-size: auto auto; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-top-left-radius: 5px; border-top-right-radius: 5px; box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); display: none; left: 17px; list-style-image: none; list-style-position: outside; list-style-type: none; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; position: absolute; top: 35px; z-index: 99999; } #menu ul ul { left: 150px; top: 0; } #menu ul li { box-shadow: 0 1px 0 rgb(17, 17, 17), 0 2px 0 rgb(119, 119, 119); display: block; float: none; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; } #menu ul li:last-child { box-shadow: none; } #menu ul a { display: block; float: none; height: auto; line-height: 1; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px; text-transform: none; white-space: nowrap; width: 130px; } :first-child + html #menu ul a { height: 10px; } #menu ul a:hover { background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: linear-gradient(#DF4449, #ba0101); background-origin: padding-box; background-position: 0 0; background-repeat: repeat; background-size: auto auto; }<!-- changer la couleur du bleu --> #menu ul li:first-child > a { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; } #menu ul li:first-child a:after{ content: ''; position: absolute; left: 24px; top: -7px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #444; } #menu ul ul li:first-child a:after { left: -7px; top: 12px; width: 0; height: 0; border-left: 0; border-bottom: 5px solid transparent; border-top: 5px solid transparent; border-right: 8px solid #444; } #menu ul li:first-child a:hover:after { border-bottom-color: #DF4449; } #menu ul ul li:first-child a:hover:after { border-right-color: #DF4449; border-bottom-color: transparent; } #menu ul li:last-child > a { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-top-left-radius: 0; border-top-right-radius: 0; } #menu:after { clear: both; content: " "; display: block; font-size: 0; height: 0; visibility: hidden; } * html #menu { } :first-child + html #menu { }
Je vous remercie d'avance pour votre aide.
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214 body{ color:black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:12px; max-height: 1464px; } h1 { font-size:17px; text-align: left; color:#b3c200; } #principal { width: 863px; height: 1500px; background-image: url(images/bg2.jpg); background-repeat: no-repeat; margin: auto; } #header{ width: 797px; height: 228px; position: relative; top: -7px; left: 19px; background-image: url(images/Banniere3.jpg); background-repeat: no-repeat; } #fr { width: 33px; height: 34px; background-image: url(images/drapeau_francais.png); background-repeat: no-repeat; position: relative; top: 10px; left: 718px; } #ang { width: 29px; height: 29px; background-image: url(images/drapeau_anglais.png); background-repeat: no-repeat; position: relative; top: -21px; left: 756px; } #article{ width: 798px; height: 228px; background-color: white; position: relative; top: -13px; left: 18px; } #plan{ width: 245px; height: 45px; background-image: url(images/plan_acces.png); background-repeat: no-repeat; position: relative; top: 0px; left: 5px; } #map{ width: 187px; height: 123px; position: relative; top: 3px; left: 8px; } .loupe{ position: relative; top: -3px; left: 210px; } #contactez{ width: 245px; height: 46px; background-image: url(images/contactez.png); background-repeat: no-repeat; position: relative; top: 30px; left: 5px; } #telephone{ width: 234px; height: 32px; background-image: url(images/telephone.jpg); background-repeat: no-repeat; position: relative; top: 105px; left: 174px; } #TS { position: relative; top: 37.5px; left: 165px; color: white; font-family: 'Century Gothic', sans-serif; font-size: 15px; letter-spacing: 3.5px; } #arrobase{ width: 234px; height: 46px; position: relative; top: -16px; left: 20px; } .arrobase { position: relative; top: 9px; left: -10px; } .plan { position: relative; top: 12px; left: 52px; color: white; font-family: "Comic Sans MS", sans-serif; font-size: 15px; } #jquiry{ width: 531px; height: 223px; position: relative; left: 267px; top: -349px; } #texte{ width: 556px; height: 539px; background-color: white; position: relative; left: 15px; top: -299px; } #photo{ width: 224px; height: 539px; background-image: url(images/Femme.jpg); background-repeat: no-repeat; position: relative; left: 574px; bottom: 847px; } #footer{ width: 798px; height: 328px; background-image: url(images/footer.jpg); background-repeat: no-repeat; position: relative; bottom: 856px; left: 0px; } #copyright{ width: 798px; height: 17px; background-image: url(images/ligne.png); background-repeat: no-repeat; position: relative; top: 350px; left: 0px; } .copyright{ color: #323335; font-family: "Comic Sans MS", sans-serif; font-size: 13px; text-align: left; letter-spacing: 2px; position: relative; top: -9px; left: 12px; } #dubinfo{ width: 118px; height: 27px; background-image: url(images/dubinfo2.jpg); background-repeat: no-repeat; position: relative; top: -43px; left: 684px; } a.mail{ color: white; font-family: "Comic Sans MS", sans-serif; font-size: 15px; text-decoration: none; text-align: center; } /*===================*/ /*=== Main Styles ===*/ /*===================*/ .theme-default #slider { margin:99px auto 0 auto; width:530px; /* Make sure your images are the same size */ height:222px; /* Make sure your images are the same size */ } .theme-pascal.slider-wrapper, .theme-orman.slider-wrapper { margin-top:150px; } /*====================*/ /*=== Other Styles ===*/ /*====================*/ .clear { clear:both; }
Partager