Bonjour à tous,

Je suis nouveau avec CSS, et jusqu'à présent ca allait bien, jusqu'à cet apres midi
j'utilise wordpress, et pour customiser mon thème j'ai créer un menu horizontal : http://uzi.jupiterii.com/testmenu_v2/htmlv2.html

j'en suis content, par contre, il est impossible de l'intégrer dans le fichier css de mon thème, rien ne va plus sinon : le menu déroulant fait décaler vers le bas le contenu, les images de fonds (rollovers) ne marchent pas, j'ai des marges qui apparaissent à droite et à gauche.... Je croyais vraiment qu'une fois que le menu fait y'aurait plus qu'à le coller, mais loin de là et je ne sais plus que faire de tous ces problèmes d'intégration.

Pourriez vous me dire ce qui ne va selon. Toute aide sera VRAIMENT VRAIMENT trèsss appréciée


je mets le css du thème :


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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
body { margin: 0; padding: 0; background: #262626; }
 
* {margin: 0; padding: 0; border: 0px none; font-family: "Trebuchet MS", Arial, sans-serif }
 
 
/*------------Basic styles------------*/
 
h1, h2, h3, span#copyright, span#design { margin: 0 10px; color: #fff; font-weight: normal; text-decoration: none; background: transparent }
 
p {
	margin: 0 0 1em;
	padding: 0;
	line-height: 1.4em;
	font-size: 0.8em;
	}
 
/*p { font-size: 0.8em; line-height: 1.4em; text-align: justify }*/
h1 { font-size: 1.3em; line-height: 1.4em; letter-spacing: 0.25em }	/* site heading */
h2 { font-size: 1.0em; line-height: 1.4em; color: #FFA000 }	/* site heading */
h3 { font-size: 0.8em; line-height: 1.4em; color: #FFA000  }				/* sub headings */
span#copyright { font-size: 13px; line-height: 35px }  /* sets the copyright styles */
span#design {  float: right; font-size: 13px; line-height: 35px }  /* floats the design link into position */
span.validation {  float: right; margin-right: 10px; } /* floats the validation buttons */
.validation img {  margin: 0; } /* floats the validation buttons */
 
div { padding: 10px 0;}
 
#hdrimg a {color: #06FF00; text-decoration: none; font-weight: normal;}
#hdrimg a strong {color: #fff; text-decoration: none; font-weight: normal;}
#hdrimg a:hover {color: #fff; text-decoration: none; font-weight: normal;}
#hdrimg a:hover strong {color: #06FF00; text-decoration: none; font-weight: normal;}
 
/*-------------Layout----------------*/
 
#hdrimg {			/* Large image */
	float: left; 			
	width: 100%;
	margin-bottom: 5px;
	background: url('images/hdr.gif') repeat-x;
	height: 170px;  	/* ie5x hack begins here */     
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 150px;
}
html>body #hdrimg {
	height: 150px;        /* ie5x hack ends here */
}
 
.rowcontainer {						/* Used to keep the divs in a row.  you can use this for any size of divs */
	float: left;
	margin-bottom: 5px;
	width: 100%;
	overflow: hidden;
	background: #333;
}
 
#bttmbar { float: left; width: 100%; height: 35px; background: url('images/hdr.gif') bottom repeat-x }    /* Bottom copyright bar */
 
 
/*------Columns: Note they dont add up to 100%, this is intentional to avoid problems!----------*/ 
 
.fullcolumn { float: left; width: 99%;}		/* Full width column for a one column site */
 
.halfcolumn { float: left; width: 49%;}		/* Half width column for a two column site. */
 
.onethirdcolumn { float: left; width: 33%; }		/* One third width column for a three column site */
 
.quartercolumn { float: left; width: 24.5% }		/* One quarter width column for a four column site */
 
.threequartercolumn { float: left; width: 74.5% }
 
.twocolumn { float: left; width: 20% }
.sixcolumn { float: left; width: 59% }
 
/*------------------------------Main Navigation------------------------------------------*/
 
#nav { position: absolute; top: 145px; left: 0px; height: 25px; width: 100% }
 
ul#nav  { margin: 0 }
 
#nav li  /* Main nav list items */
{
	font-size: 13px;
	float: left;
	list-style: none;
	text-align: center
}
 
#nav li a {   /* Main nav styles for all links */
	display: block; /* Although display:block suggests a vertical list the float:left property under #nav li causes the menu to float inline */
	margin-left: 5px; /* adds a gap between the tabs */
	width: 90px; 	/* width of the tab */
	line-height: 25px; /* height of the tab */
	text-decoration: none;
}
 
#nav a:link, #nav a:visited  { background: url('images/tab.gif') no-repeat 0 -25px }
 
#nav a:hover, #nav a:active { background: url('images/tab.gif') no-repeat 0 0 }
 
#nav a#current { background: url('images/tab.gif') no-repeat 0 0 }
 
 
/*-----------------------------------Other tags-----------------------------------------*/
 
acronym { border-bottom: 1px dashed #999; cursor: help }
 
blockquote { border-top: 2px solid #FFA000; border-bottom: 2px solid #FFA000; margin-left: 1.5em; padding-left: 5px; background-color: #333333}
 
 
/* lists */
ul { margin: 5px 0 5px 35px; list-style: url('images/bull.gif') }
ol { margin: 5px 0 5px 35px; list-style: decimal }
ol li, ul li { color: #fff; font-size: 0.8em; line-height: 1.4em }
 
hr { margin: 10px 0px; height: 1px; background: #444; color: #444 }  /* rule styling */
 
img {margin: 0 10px} /* all images styling */
img.right {float: right}  /* right floating images */
img.left {float: left}   /* left floating images */
 
/*-------------------------------------------------------------------------------*/
 
/* Modification done to basic theme */
/* Added */
 
#searchdiv {
	margin-bottom: 10px;
		margin-left: 5px;
}
 
h4, h5, h6 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-weight: normal;
}
 
a, a:visited {
    font-weight: bold;
    color: #fff;
    text-decoration: none; 
}
 
 a:hover {
    text-decoration: underline; 
}
 
/*font: bold 20px/1.1em "Trebuchet MS", "Verdana", sans-serif; }*/        
h3.entrytitle {
	padding: 0;
	margin-bottom: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 20px;
	line-height: 1.1em;
}
 
h3.entrytitle a, h3.entrytitle a:visited {
	color: #FFA200;
	text-decoration: none;
}
 
h3.entrytitle  a:hover{
	color: #FFA200;
	text-decoration: underline;
}
 
h3 a {
    text-decoration: none;
    border: 0px none;
    color: #FFA200; 
}
div .entrybody h3, div .entrybody h2{
margin-bottom:10px;
color:#B37100;
 
}
 
h3 a:hover {
    text-decoration: none;
    border: 0px none;
    text-shadow: none;
    color: #333;
}
.entry{
	background-color: #2E3233;
	border: 1px solid #3e4243;
	padding: 10px;
	margin-bottom:15px;
	color:#FFFFFF;
}
 
.arc {
	border: 1px solid #3e4243;
	background-color:#2E3233;
	padding:10px;
	color:#FFFFFF;
	margin-bottom:15px;
}
.entrymeta {
	font-size: 11px;
	margin-bottom: 15px;
	color:#FFFFFF;
}
 
.entry ul, .entry ol{
margin-left:30px;
list-style:disc;
margin-top:10px;
margin-bottom:10px;
}
.entry ul li, .entry ol li {
	padding-top:5px;
	line-height:1.5em;
	}
 
 
/* Sidebar styling*/
 
#sidebar {
 
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	background-color: #2E3233;
	padding:5px;
	color:#dddddd;
	border: 1px solid #3e4243;
}
 
#sidebar h2 {
	font-weight: bold;
	text-transform: uppercase;
	color: #dddddd;
	font-size: 110%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #555;
	margin-bottom: 10px;
}
#sidebar p{
	margin: 7px;
	color:#999999;
	line-height: 1.4em;
	}
#sidebar a, #sidebar a:visited {
	color:#ffa200;
	text-decoration:none;
}
#sidebar a:hover {
	color:#ffa200;
	text-decoration:underline;
}
 
#sidebar ul li {
	list-style-type: none;
	list-style-image: url('none');
	margin-bottom: 15px;
	margin-left: 10px
	}
 
#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}
 
#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}
 
#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}
 
ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}
 
#sidebar ul ul li, #sidebar ul ol li {
	margin-top: 3px;
	margin-right: 0em;
	margin-bottom: 0em;
	margin-left: 0.5em;
	padding-top: 0.1em;
	padding-right: 0;
	padding-bottom: 0.1em;
	padding-left: 0;
	list-style-type: none;
	list-style-position: outside;
	list-style-image: url('images/bull.gif');
}