Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > CSS
CSS Forum d'entraide sur l'utilisation des feuilles de style CSS. Avant de poster : Cours CSS, FAQ CSS, Galerie CSS
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 25/05/2011, 16h01   #1
Nouveau Membre du Club
 
Inscription : juin 2005
Messages : 140
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 140
Points : 28
Points : 28
Envoyer un message via MSN à jules_diedhiou Envoyer un message via Yahoo à jules_diedhiou
Par défaut menu deroulant caché par une balise div

Bonjour j'ai un menu déroulant mais il est caché par une balise <div> et j'arrive pas a le mettre devant le balise et je ne veux pas faire descendre la balise div voici mon code css3
Code css :
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
 
/* { padding: 0; margin: 0; outline: 0; }*/
 
body {
	 background-image:url(../images/background/1.jpg);
	margin: 0; padding: 0;
	font: normal 10px Tahoma, Verdana, Arial, Helvetica, sans-serif;	
}
 
 
*{outline: none;}
img {border: 0;}
.container {
	width: 960px;
	padding: 0;
	margin: 0 auto;
}
 
span#menu_end {
	display:block;
	float:left;
	height:46px;
	width:5px;
}
 
span#menu_start {
	display:block;
	float:left;
	height:46px;
	width:52px;
 
}
 
 
ul#topnav {
	margin: 0; padding: 0;
	float:left;
	list-style: none;
	font-size: 1em;
	background: url(../images/back_nav.png) repeat-x;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position: relative;
	background: url(../images/li_border.png) no-repeat right top;	
}
ul#topnav li#last-li {
	background: none;
}
ul#topnav li#last-li a span.single_wrapper {
	float:left;
	margin:6px 6px 6px 10px;
	padding:0 10px;
}
 
ul#topnav li.liSub a, ul#topnav li a {
	color:#FF0;
	float: left;
	height: 46px;
	line-height: 34px;
	padding: 2;
	text-decoration: none;
	text-shadow: 0 0 2px black;
	/*text-transform: uppercase;*/
	z-index: 200;
	font: normal 15px Tahoma, Verdana, Arial, Helvetica, sans-serif;
}
span#menu_start a {
	background: url(../images/home_nav.png) no-repeat left top;
	width: 52px; height: 46px;
	text-indent: -9999px;
	padding:0; margin:0;
}
span#menu_start a:hover  { background-position: left -46px; }
span#menu_start a:active { background-position: left -92px; }
 
span#menu_start a {	display:block; line-height: 46px; }
 
ul#topnav li .sub {
	position: absolute;	
	top: 46px; left: 10px;
	background: #FFFFFF;
	background-color: #f8f8f8\9; /* le  \9  est un hack pour cibler IE8, IE7 et IE6 */ 
	border-bottom: 1px solid #cbcbcb\9;
	border-left: 1px solid #cbcbcb\9;
	border-right: 1px solid #cbcbcb\9;
	padding: 10px 10px 10px;
	float: left;
 
	border-bottom-right-radius:		    10px;
	-moz-border-radius-bottomright:     10px;
	-khtml-border-radius-bottomright:   10px;
	-webkit-border-bottom-right-radius: 10px;
 
	border-bottom-left-radius:		    10px;
	-moz-border-radius-bottomleft:      10px;
	-khtml-border-radius-bottomleft: 	10px;
	-webkit-border-bottom-left-radius:  10px;
 
	box-shadow:0px 0px 5px #5a5a5a;
	-moz-box-shadow:0px 0px 5px #5a5a5a;
	-webkit-box-shadow:0px 0px 5px #5a5a5a;
	display: none;
	z-index: -10;
}
ul#topnav li .row {clear: both; float: left; width: 100%; margin-bottom: 10px;}
ul#topnav li .sub ul{
	list-style: none;
	margin: 0; padding: 0;
	width: 150px;
	float: left;
}
ul#topnav .sub ul li {
	width: 100%;
	color: #fff;
	background: none;
}
ul#topnav .sub ul li h2 {
	padding: 0;  margin: 0;
	font-size: 1.3em;
	font-weight: normal;
}
ul#topnav .sub ul li h2 a, ul#topnav .sub ul li h2 a:hover {
	padding: 5px 0;
	background-image: none;
	color: #c10707;
}
ul#topnav .sub ul li h2 a:hover {
	background-image: none;
	text-decoration: underline;
}
ul#topnav .sub ul li a {
	float: none; 
	text-indent: 0;
	height: auto;
	background: url(../images/navlist_arrow.png) no-repeat 0px 10px;
	padding: 0 0 0 18px;
	margin: 0 10px;
	display: block;
	text-decoration: none;
	color: #757575;
	font-size:1.1em;
	text-shadow: none;
	border-bottom: 1px solid #e6e6d8;
	text-transform: none;
	line-height:27px;
}
ul#topnav .sub ul li a:hover {
	color: #c50a0a;
	background: url(../images/navlist_arrow_hover.png) no-repeat 0px 10px;
	text-decoration: underline;
}
 
span.dd_action {
	height:6px;
	padding:0 0 0 10px;
	width:9px;
}
 
span.single_wrapper {
	float:left;
	margin:6px 10px;
	padding:0 15px;
}
 
span.single_wrapper:hover, li.current a span.single_wrapper {
	background: white;
	color: black;
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FFFFFFFF, endColorstr=#FFe5e5e5);
	background-image: -moz-linear-gradient(	top, #FFFFFF, #e5e5e5);
	background-image: -webkit-gradient( linear,	left top, left bottom, from(#FFFFFF), to(#e5e5e5));
 
	border-radius: 	       7px; /* Propriété CSS3 générale et pour Opera */
	-moz-border-radius:    7px; /* Propriété CSS3 pour Firefox */
	-khtml-border-radius:  7px; /* Propriété CSS3 pour navigateurs KHTML */
	-webkit-border-radius: 7px; /* Propriété CSS3 pour navigateurs Webkit */
 
	box-shadow:         0px 0px 2px #343333; /* Propriété CSS3 */
	-webkit-box-shadow: 0px 0px 2px #343333; /* Propriété CSS3 pour Firefox */
	-moz-box-shadow:    0px 0px 2px #343333; /* Propriété CSS3 pour navigateurs Webkit */
}
 
span.single_wrapper:active {
	background: white;	
	color: black;
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FFe5e5e5, endColorstr=#FFFFFFFF);
	background-image: -moz-linear-gradient(	top, #e5e5e5, #FFFFFF);
	background-image: -webkit-gradient( linear, left top, left bottom, from(#e5e5e5), to(#FFFFFF));
 
	border-radius:         7px;
	-moz-border-radius:    7px;
	-khtml-border-radius:  7px;
	-webkit-border-radius: 7px;
 
	box-shadow:         0px 0px 2px #343333;
	-webkit-box-shadow: 0px 0px 2px #343333;
	-moz-box-shadow:    0px 0px 2px #343333;
}
 
span.dd_wrapper {
	float:left;
	margin:6px 10px 0;
	padding:0 11px 6px 18px;
}
 
li.liSub a:hover span.dd_wrapper, li.liSub:hover a span.dd_wrapper {
	z-index:      100;
	background:   white;
	color: 		  black;
	border-top:   1px solid #e5e5e5;	
	border-right: 1px solid #989898;
	padding:	  0 10px 6px 18px;	
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#dfdfdf, endColorstr=#f8f8f8); /* Pour IE */
	background-image: -moz-linear-gradient(	top, #e5e5e5, #FFFFFF); /* Pour Firefox */
	background-image: -webkit-gradient( linear,	left top, left bottom, from(#e5e5e5), to(#FFFFFF)); /* Pour Webkit */
 
	border-top-right-radius:		 7px;
	-moz-border-radius-topleft: 	 7px;
	-webkit-border-top-left-radius:  7px;
	-khtml-border-radius-topleft: 	 7px;
 
	border-top-left-radius:		     7px;
	-moz-border-radius-topright: 	 7px;
	-webkit-border-top-right-radius: 7px;
	-khtml-border-radius-topright: 	 7px;
}
#header {
	background:url("../images/new-bannniere-4.jpg") no-repeat scroll 0 0 transparent;
	width: 850px; height: 163px;
	float: left;
}
#nav_wrapper {
	clear: left;
}
a { color: #565656; text-decoration: underline; }
a:hover { text-decoration:none ; }
 
.cl, .clear { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
 
.shell { width:960px; margin:0; position:relative; }
 
h2 { padding-bottom:4px; background:url(images/h2.gif) left bottom repeat-x; margin-bottom:9px; font-family: "Trebuchet MS", Arial, Sans-Serif; font-size:27px; color:#272728; }
 
h3 { color:#fff; font-size:20px; padding-bottom:10px; }
 
h5 { font-size:10px; color:#4062b7; font-weight:normal; padding-bottom:2px; }
h5 a { color:#4062b7; text-decoration:none; }
h5 a:hover { color:#4062b7; text-decoration:underline; }
 
.button { font-size:11px; color:#2a2b22; font-weight:bold; text-decoration:none; }
.button span { font-size:11px; color:#2a2b22; font-weight:bold; cursor:pointer; }
 
/*
	Header
*/
 
/*#header { background:url(../images/header.jpg) left top repeat-x; height:75px; }*/
 
/*#logo { float:left; width:201px; height:75px; text-align:left; }
#logo a {
	float:left;
	width:220px;
	height:150px;
	font-size:0;
	line-height:0;
	text-indent:-4000px;
	background-image: url(images/logo_casanova.jpg);
	background-repeat: no-repeat;
}*/
 
/* Navigation */
/*#navigation { float:right; padding-top:5px; background:url(images/navigation-separator.jpg) right 1px no-repeat; }
#navigation ul { list-style:none; padding-right:1px; }
/*#navigation ul li { float:left; padding-left:1px; background:url(images/navigation-separator.jpg) left 1px no-repeat; }
#navigation ul li a {
	float:left;
	padding:0 16px 0 15px;
	height:64px;
	line-height:64px;
	font-weight:bold;
	font-size:13px;
	color:#E6B802;
	text-decoration:none;
}
 #navigation ul li a:hover,
#navigation ul li a.active { background:url(images/navigation-active.gif); color:#fff; }
#navigation ul li a span { float:left; } */
 
 
 
/* 
	Intro
*/
 
#intro { background:url(../images/intro.gif) left top repeat-x; height:418px; padding-top:60px; }
 
#intro .slider-holder { width:1000px; height:353px; position:relative; overflow:hidden; left:120px }
 
#intro .slider-holder ul,
.jcarousel-clip { list-style:none; width:960px; height:353px; position:relative; overflow:hidden; }
#intro .slider-holder ul li { float:left; position:relative; width:960px; height:353px; list-style:none; }
#intro .slider-holder .offer-image { position:absolute; top:0; left:0; }
#intro .slider-holder .offer-image img { border:1px solid #a7a0a0; }
#intro .slider-holder .offer-data { position:absolute; top:1px; right:1px; height:317px; width:230px; background:url(../images/semi-transparent.png); padding:34px 20px 0 25px; }
#intro .slider-holder .offer-data .entry { height:212px;}
#intro .slider-holder .offer-data p { color:#dfd5d5; line-height:18px; padding-bottom:18px; text-align:justify; }
#intro .slider-holder .offer-data p a { color:#dfd5d5; }
 
#intro .slider-holder .offer-data .buttons { padding-right:4px; }
 
#intro .slider-holder .offer-data .buttons .button,
#intro .slider-holder .offer-data .buttons .button span { height:29px; line-height:29px; float:left; }
#intro .slider-holder .offer-data .buttons .button { float:right; background:url(../images/intro-button.jpg) left top repeat-x; border:1px solid #434340; padding:0 8px; }
#intro .slider-holder .offer-data .buttons .button span { background:url(../images/intro-button-span.jpg) left top no-repeat; padding-left:7px; }
 
#intro .slider-navigation { height:24px; background:url(../images/intro-shadow.jpg) left top no-repeat; padding-top:36px; }
#intro .slider-navigation ul { list-style:none; margin-left:420px; }
#intro .slider-navigation ul li { float:left; }
#intro .slider-navigation ul li a { background:url(../images/slider-navigation-normal.jpg); width:19px; height:20px; display:block; font-size:0; line-height:0; text-indent:-4000px; text-decoration:none; }
#intro .slider-navigation ul li a.active,
#intro .slider-navigation ul li a:hover { background:url(../(images/slider-navigation-active.jpg); }
 
/* 
	Main
*/
 
#main { background:#f8f8f8 url(../images/main.jpg) left top repeat-x; }
#main .shell { padding:25px 0; }
 
#main p { padding-bottom:10px; line-height:17px; }
.box { float:left; width:306px; padding:0 19px 0 0; }
.last-box { padding-right:0; }
 
.box .entry { height:217px; padding-left:2px; }
 
.box .big-image { padding:4px 0 10px 0; }
.box .big-image img { border:2px solid #fff; }
 
.box .buttons .button,
.box .buttons .button span { background:url(../images/main-button.jpg) repeat-x; height:29px; line-height:29px; float:right; display:inline; border:1px solid #bfbebe; padding:0 8px; }
.box .buttons .button span { float:left; border:0; background:url(../images/main-button-span.jpg) left top no-repeat; padding:0 0 0 7px; }
 
#main .news { }
#main .news ul { list-style:none; }
#main .news ul li { border-bottom:1px dotted #e8d0d2; padding-bottom:7px; margin-bottom:15px; }
#main .news ul li.last { border-bottom:0; padding-bottom:0; margin-bottom:0; }
#main .news ul li .post-image { float:left; width:76px; padding:3px 22px 0 0; }
#main .news ul li .post-image img { border:2px solid #fff; }
#main .news ul li .post-data { float:left; width:203px; }
#main .news ul li .post-data p { color:#413f3f; line-height:18px; padding-bottom:0; }
#main .news ul li .post-data a { color:#4062b7; }
 
.bullet-list ul { list-style:none; padding-top:1px; }
.bullet-list ul li { line-height:12px; background:url(../images/ul-bullet.gif) left 5px no-repeat; padding:0 0 14px 10px; }
.bullet-list ul li a { color:#4062b7; }
/*
	Footer
*/
 
#footer { background:url(../images/footer.jpg) left top repeat-x; color:#b3adad; padding:24px 4px; font-size:10px; }
#footer a { color:#b3adad; text-decoration:none; }
#footer a:hover { text-decoration:underline; }
 
#footer .footer-navigation { }
#footer .footer-navigation ul { list-style:none; }
#footer .footer-navigation ul li { float:left; padding-right:8px; margin-right:8px; border-right:1px solid #b3adad; height:10px; line-height:10px; }
#footer .footer-navigation ul li.last { padding-right:0; margin-right:0; border-right:0;  }
#footer .footer-navigation ul li a { }
 
#footer .right { float:right; font-family:Verdana, Arial, Sans-Serif; }
#footer .right a { color:#dad7d7; font-weight:bold; text-decoration:underline; }
#footer .right a:hover { text-decoration:none; }

voici mon code html

Code html :
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
 
 
<!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="en" lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Meubles Casanova</title>
 
 
	<!--[if IE 6]>
		<link rel="stylesheet" href="css/ie.css" type="text/css" media="all" />	
	<![endif]-->
 
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
 
	<script type="text/javascript" src="js/jquery.jcarousel.js"></script>
 
	<!-- Cufon -->
	<script type="text/javascript" src="js/cufon-yui.js"></script>
 
	<script type="text/javascript" src="js/MyriadPro.font.js"></script>
	<script type="text/javascript" src="js/ArialBold.font.js"></script>
 
 
	<script type="text/javascript" src="js/jquery-func.js"></script>
 
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.hoverIntent.minified.js"></script>
 
<script type="text/javascript">
 
/*
 * jQuery Mega Drop Down Menu script by Soh Tanaka
 * http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/
 * 
 */
$(document).ready(function(){
 
	function megaHoverOver(){
		$(this).find(".sub").stop().fadeTo('fast', 1).show();
 
		//Calculate width of all ul's
		(function($) {
			jQuery.fn.calcSubWidth = function() {
				rowWidth = 0;
				//Calculate row
				$(this).find("ul").each(function() {					
					rowWidth += $(this).width(); 
				});	
			};
		})(jQuery); 
 
		if ( $(this).find(".row").length > 0 ) { //If row exists...
			var biggestRow = 0;	
			//Calculate each row
			$(this).find(".row").each(function() {							   
				$(this).calcSubWidth();
				//Find biggest row
				if(rowWidth > biggestRow) {
					biggestRow = rowWidth;
				}
			});
			//Set width
			$(this).find(".sub").css({'width' :biggestRow});
			$(this).find(".row:last").css({'margin':'0'});
 
		} else { //If row does not exist...
 
			$(this).calcSubWidth();
			//Set Width
			$(this).find(".sub").css({'width' : rowWidth});
 
		}
	}
 
	function megaHoverOut(){
	 $(this).find(".sub").stop().fadeTo('fast', 0, function() {
		  $(this).hide();
	  });
	}
 
 
	var config = {
		 sensitivity: 2,		// number = sensitivity threshold (must be 1 or higher)    
		 interval: 0, 			// number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver,   // function = onMouseOver callback (REQUIRED)    
		 timeout: 0, 			// number = milliseconds delay before onMouseOut    
		 out: megaHoverOut 		// function = onMouseOut callback (REQUIRED)    
	};
 
	$("ul#topnav li .sub").css({'opacity':'0'});
	$("ul#topnav li").hoverIntent(config);
 
	// Add class to the current element
	$("ul#topnav li").click(function(){
		$("ul#topnav").find("li.current").removeClass().removeAttr("class");
		$(this).addClass("current");
	});
 
	// Change arrow on hover
	$("li.liSub").hover(function(){
		$(this).find("span img").attr("src", "images/arrow_hover.png");
	},function(){
		$(this).find("span img").attr("src", "images/arrow.png");
	});
 
	// Delete the border for the last li of the submenu
	$("ul#topnav .sub ul li:last-child a").css("border", "none");
 
});
</script>
	<link rel="shortcut icon" type="image/x-icon" href="images/faveico.jpg" />
    <link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<style type="text/css">
#apDiv1 {
	position:absolute;
	width:559px;
	height:260px;
	z-index:1;
	left: 68px;
	top: 309px;
}
</style>
</head>
 
 
<body >
 
<!--begin menu -->
<div class="container">
    <div id="header"></div>
	<div id="nav_wrapper">
		<span id="menu_start"><a href="#" class="home">Home</a></span>
	    <ul id="topnav">	    	
<li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Presentation
						<!--<span class="dd_action"><img src="arrow.png" alt=""/></span>-->
					</span>
				</a>
          </li>
	        <li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Nos Magasins
						<span class="dd_action"><img src="images/arrow.png" alt="" /></span>
					</span>
				</a>
	            <div style="opacity: 0; display: none; width: 450px;" class="sub">
	            	<div class="row">
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Casanova Centre-ville</a></h2></li>
                      </ul>
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Casanova Destock</a></h2></li>
 
	                    </ul>
	                </div>
 
	            </div>
	        </li>
 
             <li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Produits et Thémes
						<span class="dd_action"><img src="images/arrow.png" alt="" /></span>
					</span>
				</a>
	            <div style="opacity: 0; display: none; width: 450px;" class="sub">
	            	<div class="row">
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Canapé</a></h2></li>
                            <li><h2><a href="#">Salons</a></h2></li>
                            <li><h2><a href="#">Bureaux</a></h2></li>
                            <li><h2><a href="#">Cuisine</a></h2></li>
                      </ul>
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Chambre à Coucher</a></h2></li>
	                        <li><h2><a href="#">Salle à Manger</a></h2></li>
                            <li><h2><a href="#">Jardin</a></h2></li>
                            <li><h2><a href="#">Divers</a></h2></li>
	                    </ul>
	                </div>
 
	            </div>
	        </li>
 
	        <li>
		    	<a href="#">
		    		<span class="single_wrapper">Conditions de vente</span>
				</a>
	        </li>
			<li>
				<a href="#">        	
					<span class="single_wrapper">Contact</span>
				</a>
	        </li>
			<!--<li>
	        	<a href="#">        	
					<span class="single_wrapper">About</span>
				</a>
	        </li>
			<li>
				<a href="#">        	
					<span class="single_wrapper">Archives</span>
				</a>
	        </li>
	        <li id="last-li">        	
				<a href="#">        	
					<span class="single_wrapper">Contact</span>
				</a>
	        </li>-->
	    </ul>
		<span id="menu_end"><img src="images/last_li.png" width="5" height="46" alt="" /></span>
	</div>
 
</div>
 
<!--end menu -->
<div id="intro"><!-- cette balise qui cache mon menu deroulant-->
	<div class="shell">
		<!-- Slider Holder -->
		<div class="slider-holder">
			<ul>
				<!-- Offer -->
				<li>
					<div class="offer-image">
						<img src="css/images/image1.jpg" alt="" />
				  </div>
					<div class="offer-data">
						<h3>Special Offer</h3>
 
						<div class="entry">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sed odio et ante lipsum amet dorem en lobortis. Quisque eleifend, arcu a dictum varius.</p>
							<p><strong>Lorem ipsum dolor</strong> sit amet, con- sectetuer adipiscing elit. Proin sed odio et ante adipiscing lobortis. Quisque eleif- end, arcu a <a href="#">dictum</a> varius, risus neque venenatis arcu</p>
						</div>
 
						<div class="buttons">
							<a href="#" class="button"><span>Read More</span></a>
						</div>
					</div>
				</li>
				<!-- /Offer -->
 
				<!-- Offer -->
				<li>
					<div class="offer-image">
						<img src="css/images/image2.jpg" alt="" />
					</div>
					<div class="offer-data">
						<h3>Special Offer</h3>
 
						<div class="entry">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sed odio et ante lipsum amet dorem en lobortis. Quisque eleifend, arcu a dictum varius.</p>
							<p><strong>Lorem ipsum dolor</strong> sit amet, consectetuer adipiscing elit. Proin sed odio et ante adipiscing lobortis. Quisque eleifend, arcu a <a href="#">dictum</a> varius, risus neque venenatis arcu</p>
						</div>
 
						<div class="buttons">
							<a href="#" class="button"><span>Read More</span></a>
						</div>
					</div>
				</li>
				<!-- /Offer -->
 
				<!-- Offer -->
				<li>
					<div class="offer-image">
						<img src="css/images/image3.jpg" alt="" />
					</div>
					<div class="offer-data">
						<h3>Special Offer</h3>
 
						<div class="entry">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sed odio et ante lipsum amet dorem en lobortis. Quisque eleifend, arcu a dictum varius.</p>
							<p><strong>Lorem ipsum dolor</strong> sit amet, consectetuer adipiscing elit. Proin sed odio et ante adipiscing lobortis. Quisque eleifend, arcu a <a href="#">dictum</a> varius, risus neque venenatis arcu</p>
						</div>
 
						<div class="buttons">
							<a href="#" class="button"><span>Read More</span></a>
						</div>
					</div>
				</li>
				<!-- /Offer -->
 
				<!-- Offer -->
				<li>
					<div class="offer-image">
						<img src="css/images/image4.jpg" alt="" />
					</div>
					<div class="offer-data">
						<h3>Special Offer</h3>
 
						<div class="entry">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sed odio et ante lipsum amet dorem en lobortis. Quisque eleifend, arcu a dictum varius.</p>
							<p><strong>Lorem ipsum dolor</strong> sit amet, consectetuer adipiscing elit. Proin sed odio et ante adipiscing lobortis. Quisque eleifend, arcu a <a href="#">dictum</a> varius, risus neque venenatis arcu</p>
						</div>
 
						<div class="buttons">
							<a href="#" class="button"><span>Read More</span></a>
						</div>
					</div>
				</li>
				<!-- /Offer -->
 
				<!-- Offer -->
				<li>
					<div class="offer-image">
						<img src="css/images/image5.jpg" alt="" />
					</div>
					<div class="offer-data">
						<h3>Special Offer</h3>
 
						<div class="entry">
							<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin sed odio et ante lipsum amet dorem en lobortis. Quisque eleifend, arcu a dictum varius.</p>
							<p><strong>Lorem ipsum dolor</strong> sit amet, consectetuer adipiscing elit. Proin sed odio et ante adipiscing lobortis. Quisque eleifend, arcu a <a href="#">dictum</a> varius, risus neque venenatis arcu</p>
						</div>
 
						<div class="buttons">
							<a href="#" class="button"><span>Read More</span></a>
						</div>
					</div>
				</li>
				<!-- /Offer -->
			</ul>
		</div>
		<!-- /Slider Holder -->
		<!-- Slider Navigation -->
 
		<div class="slider-navigation">
			<ul>
				<li><a href="#">1</a></li>
				<li><a href="#">2</a></li>
				<li><a href="#">3</a></li>
				<li><a href="#">4</a></li>
				<li><a href="#">5</a></li>
			</ul>
		</div>
		<!-- /Slider Navigation -->
	</div>
</div>
 
 
</body>
</html>
merci d'avance
jules_diedhiou est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 26/05/2011, 07h22   #2
Modérateur
 
Avatar de Bisûnûrs
 
Josselin
Développeur Web
Inscription : janvier 2004
Messages : 9 050
Détails du profil
Informations personnelles :
Nom : Josselin
Âge : 29
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : janvier 2004
Messages : 9 050
Points : 12 181
Points : 12 181
C'est à cause du position:relative sur ton div slide-holder. Il te suffit juste de rajouter un z-index supérieur à 0 à pour le refaire apparaitre.
Bisûnûrs est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 26/05/2011, 09h57   #3
Nouveau Membre du Club
 
Inscription : juin 2005
Messages : 140
Détails du profil
Informations forums :
Inscription : juin 2005
Messages : 140
Points : 28
Points : 28
Envoyer un message via MSN à jules_diedhiou Envoyer un message via Yahoo à jules_diedhiou
Merciiiiiiiiiiiiiiiii mais la j'ai un autre probléme le slider ne marche plus sur mozilla et la balise contenant le slider est décaler a gauche , sur safari ca marche mais la balise div est trop large et sur chrome ca marche et le postionnement de la balise est ok

je vous passe le code html et le css

html
Code html :
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
 
<!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="en" lang="en"><head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Meubles Casanova</title>
 
 
	<!--[if IE 6]>
		<link rel="stylesheet" href="css/ie.css" type="text/css" media="all" />	
	<![endif]-->
 
	<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
 
 
 
	<!-- Cufon -->
	<script type="text/javascript" src="js/cufon-yui.js"></script>
 
	<script type="text/javascript" src="js/MyriadPro.font.js"></script>
	<script type="text/javascript" src="js/ArialBold.font.js"></script>
 
 
 
 
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.hoverIntent.minified.js"></script>
 
 
 
<script type="text/javascript" src="js/jquery.scrollTo.js"></script>
 
<script>
 
$(document).ready(function() {
 
	//Speed of the slideshow
	var speed = 5000;
 
	//You have to specify width and height in #slider CSS properties
	//After that, the following script will set the width and height accordingly
	$('#mask-gallery, #gallery li').width($('#slider').width());	
	$('#gallery').width($('#slider').width() * $('#gallery li').length);
	$('#mask-gallery, #gallery li, #mask-excerpt, #excerpt li').height($('#slider').height());
 
	//Assign a timer, so it will run periodically
	var run = setInterval('newsscoller(0)', speed);	
 
	$('#gallery li:first, #excerpt li:first').addClass('selected');
 
	//Pause the slidershow with clearInterval
	$('#btn-pause').click(function () {
		clearInterval(run);
		return false;
	});
 
	//Continue the slideshow with setInterval
	$('#btn-play').click(function () {
		run = setInterval('newsscoller(0)', speed);	
		return false;
	});
 
	//Next Slide by calling the function
	$('#btn-next').click(function () {
		newsscoller(0);	
		return false;
	});	
 
	//Previous slide by passing prev=1
	$('#btn-prev').click(function () {
		newsscoller(1);	
		return false;
	});	
 
	//Mouse over, pause it, on mouse out, resume the slider show
	$('#slider').hover(
 
		function() {
			clearInterval(run);
		}, 
		function() {
			run = setInterval('newsscoller(0)', speed);	
		}
	); 	
 
});
 
 
function newsscoller(prev) {
 
	//Get the current selected item (with selected class), if none was found, get the first item
	var current_image = $('#gallery li.selected').length ? $('#gallery li.selected') : $('#gallery li:first');
	var current_excerpt = $('#excerpt li.selected').length ? $('#excerpt li.selected') : $('#excerpt li:first');
 
	//if prev is set to 1 (previous item)
	if (prev) {
 
		//Get previous sibling
		var next_image = (current_image.prev().length) ? current_image.prev() : $('#gallery li:last');
		var next_excerpt = (current_excerpt.prev().length) ? current_excerpt.prev() : $('#excerpt li:last');
 
	//if prev is set to 0 (next item)
	} else {
 
		//Get next sibling
		var next_image = (current_image.next().length) ? current_image.next() : $('#gallery li:first');
		var next_excerpt = (current_excerpt.next().length) ? current_excerpt.next() : $('#excerpt li:first');
	}
 
	//clear the selected class
	$('#excerpt li, #gallery li').removeClass('selected');
 
	//reassign the selected class to current items
	next_image.addClass('selected');
	next_excerpt.addClass('selected');
 
	//Scroll the items
	$('#mask-gallery').scrollTo(next_image, 800);		
	$('#mask-excerpt').scrollTo(next_excerpt, 800);					
 
}
 
 
 
</script>
 
<script type="text/javascript">
 
/*
 * jQuery Mega Drop Down Menu script by Soh Tanaka
 * http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/
 * 
 */
$(document).ready(function(){
 
	function megaHoverOver(){
		$(this).find(".sub").stop().fadeTo('fast', 1).show();
 
		//Calculate width of all ul's
		(function($) {
			jQuery.fn.calcSubWidth = function() {
				rowWidth = 0;
				//Calculate row
				$(this).find("ul").each(function() {					
					rowWidth += $(this).width(); 
				});	
			};
		})(jQuery); 
 
		if ( $(this).find(".row").length > 0 ) { //If row exists...
			var biggestRow = 0;	
			//Calculate each row
			$(this).find(".row").each(function() {							   
				$(this).calcSubWidth();
				//Find biggest row
				if(rowWidth > biggestRow) {
					biggestRow = rowWidth;
				}
			});
			//Set width
			$(this).find(".sub").css({'width' :biggestRow});
			$(this).find(".row:last").css({'margin':'0'});
 
		} else { //If row does not exist...
 
			$(this).calcSubWidth();
			//Set Width
			$(this).find(".sub").css({'width' : rowWidth});
 
		}
	}
 
	function megaHoverOut(){
	 $(this).find(".sub").stop().fadeTo('fast', 0, function() {
		  $(this).hide();
	  });
	}
 
 
	var config = {
		 sensitivity: 2,		// number = sensitivity threshold (must be 1 or higher)    
		 interval: 0, 			// number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver,   // function = onMouseOver callback (REQUIRED)    
		 timeout: 0, 			// number = milliseconds delay before onMouseOut    
		 out: megaHoverOut 		// function = onMouseOut callback (REQUIRED)    
	};
 
	$("ul#topnav li .sub").css({'opacity':'0'});
	$("ul#topnav li").hoverIntent(config);
 
	// Add class to the current element
	$("ul#topnav li").click(function(){
		$("ul#topnav").find("li.current").removeClass().removeAttr("class");
		$(this).addClass("current");
	});
 
	// Change arrow on hover
	$("li.liSub").hover(function(){
		$(this).find("span img").attr("src", "images/arrow_hover.png");
	},function(){
		$(this).find("span img").attr("src", "images/arrow.png");
	});
 
	// Delete the border for the last li of the submenu
	$("ul#topnav .sub ul li:last-child a").css("border", "none");
 
});
</script>
<link rel="shortcut icon" type="image/x-icon" href="images/faveico.jpg" />
    <link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
 
</head>
 
 
<body >
<!--begin menu -->
<div class="container">
    <div id="header"></div>
	<div id="nav_wrapper">
		<span id="menu_start"><a href="index.html" class="home">Home</a></span>
	    <ul id="topnav">	    	
	        <li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Presentation
						<!--<span class="dd_action"><img src="arrow.png" alt=""/></span>-->
					</span>
				</a>
 
	        <li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Nos Magasins
						<span class="dd_action"><img src="images/arrow.png" alt="" /></span>
					</span>
				</a>
	            <div style="opacity: 0; display: none; width: 450px;" class="sub">
	            	<div class="row">
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Casanova Centre-ville</a></h2></li>
	                          </ul>
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Casanova Destock</a></h2></li>
 
	                    </ul>
	                </div>
 
	            </div>
	        </li>
 
             <li class="liSub">
	        	<a href="#">
	        		<span class="dd_wrapper">
	        			Produits et Thémes
						<span class="dd_action"><img src="images/arrow.png" alt="" /></span>
					</span>
				</a>
	            <div style="opacity: 0; display: none; width: 450px;" class="sub">
	            	<div class="row">
	                    <ul style="width: 225px;">
	                        <li><h2><a href="index.php">Canapes</a></h2></li>
                            <li><h2><a href="#">Salons</a></h2></li>
                            <li><h2><a href="#">Bureaux</a></h2></li>
                            <li><h2><a href="#">Cuisine</a></h2></li>
	                          </ul>
	                    <ul style="width: 225px;">
	                        <li><h2><a href="#">Chambre à Coucher</a></h2></li>
	                        <li><h2><a href="#">Salle à Manger</a></h2></li>
                            <li><h2><a href="#">Jardin</a></h2></li>
                            <li><h2><a href="#">Divers</a></h2></li>
	                    </ul>
	                </div>
 
	            </div>
	        </li>
 
	        <li>
		    	<a href="#">
		    		<span class="single_wrapper">Conditions de vente</span>
				</a>
	        </li>
			<li>
				<a href="#">        	
					<span class="single_wrapper">Contact</span>
				</a>
	        </li>
			<!--<li>
	        	<a href="#">        	
					<span class="single_wrapper">About</span>
				</a>
	        </li>
			<li>
				<a href="#">        	
					<span class="single_wrapper">Archives</span>
				</a>
	        </li>
	        <li id="last-li">        	
				<a href="#">        	
					<span class="single_wrapper">Contact</span>
				</a>
	        </li>-->
	    </ul>
		<span id="menu_end"><img src="images/last_li.png" width="5" height="46" alt="" /></span>
	</div>
</div>
</div>
<!--end menu -->
 
 
 
 <div id="intro">   
<div id="slider">
 
    <div id="mask-gallery">
      <ul id="gallery">
        <li class="item1"><img src="images/image1.jpg" width="600" height="300" alt=""/></li>
        <li class="item2"><img src="images/image2.jpg" width="600" height="300" alt=""/></li>
        <li class="item3"><img src="images/image3.jpg" width="600" height="300" alt=""/></li>
       </ul>
    </div>
 
  <div id="mask-excerpt">
    <ul id="excerpt">
        <li class="item1">Cras dictum. Maecenas ut turpis. In vitae erat ac orci dignissim eleifend.</li>
        <li class="item2">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</li>
        <li class="item3">Nunc quis justo. Sed vel ipsum in purus tincidunt pharetra.</li>
    </ul>
  </div>
 
</div>
 
<!--<div id="buttons">
    <a href="#" id="btn-prev">prev</a> 
    <a href="#" id="btn-pause">pause</a> 
    <a href="#" id="btn-play">play</a> 
    <a href="#" id="btn-next">next</a>
</div>
<div id="links">
    <a href="#" rel="item1">1</a>
    <a href="#" rel="item2">2</a>
    <a href="#" rel="item3">3</a>
</div>-->
 
 </div>
<div class="clear"></div>
 
 
</body>
</html>
et voici le code css
Code :
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
 
/* { padding: 0; margin: 0; outline: 0; }*/
 
body {
	 background-image:url(../images/background/1.jpg);
	margin: 0; padding: 0;
	font: normal 10px Tahoma, Verdana, Arial, Helvetica, sans-serif;	
}
 
 
*{outline: none;}
img {border: 0;}
.container {
	width: 960px;
	padding: 0;
	margin: 0 auto;
	z-index:1000;
	position:relative;
 
}
 
span#menu_end {
	display:block;
	float:left;
	height:46px;
	width:5px;
}
 
span#menu_start {
	display:block;
	float:left;
	height:46px;
	width:52px;
 
}
 
 
ul#topnav {
	margin: 0; padding: 0;
	float:left;
	list-style: none;
	font-size: 1em;
	background: url(../images/back_nav.png) repeat-x;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position: relative;
	background: url(../images/li_border.png) no-repeat right top;	
}
ul#topnav li#last-li {
	background: none;
}
ul#topnav li#last-li a span.single_wrapper {
	float:left;
	margin:6px 6px 6px 10px;
	padding:0 10px;
}
 
ul#topnav li.liSub a, ul#topnav li a {
	color:#FF0;
	float: left;
	height: 46px;
	line-height: 34px;
	padding: 2;
	text-decoration: none;
	text-shadow: 0 0 2px black;
	/*text-transform: uppercase;*/
	z-index: 250;
	font: normal 15px Tahoma, Verdana, Arial, Helvetica, sans-serif;
}
span#menu_start a {
	background: url(../images/home_nav.png) no-repeat left top;
	width: 52px; height: 46px;
	text-indent: -9999px;
	padding:0; margin:0;
}
span#menu_start a:hover  { background-position: left -46px; }
span#menu_start a:active { background-position: left -92px; }
 
span#menu_start a {	display:block; line-height: 46px; }
 
ul#topnav li .sub {
	position: absolute;	
	top: 46px; left: 10px;
	background: #FFFFFF;
	background-color: #f8f8f8\9; /* le  \9  est un hack pour cibler IE8, IE7 et IE6 */ 
	border-bottom: 1px solid #cbcbcb\9;
	border-left: 1px solid #cbcbcb\9;
	border-right: 1px solid #cbcbcb\9;
	padding: 10px 10px 10px;
	float: left;
 
	border-bottom-right-radius:		    10px;
	-moz-border-radius-bottomright:     10px;
	-khtml-border-radius-bottomright:   10px;
	-webkit-border-bottom-right-radius: 10px;
 
	border-bottom-left-radius:		    10px;
	-moz-border-radius-bottomleft:      10px;
	-khtml-border-radius-bottomleft: 	10px;
	-webkit-border-bottom-left-radius:  10px;
 
	box-shadow:0px 0px 5px #5a5a5a;
	-moz-box-shadow:0px 0px 5px #5a5a5a;
	-webkit-box-shadow:0px 0px 5px #5a5a5a;
	display: none;
	z-index: -10;
}
ul#topnav li .row {clear: both; float: left; width: 100%; margin-bottom: 10px;}
ul#topnav li .sub ul{
	list-style: none;
	margin: 0; padding: 0;
	width: 150px;
	float: left;
}
ul#topnav .sub ul li {
	width: 100%;
	color: #fff;
	background: none;
}
ul#topnav .sub ul li h2 {
	padding: 0;  margin: 0;
	font-size: 1.3em;
	font-weight: normal;
}
ul#topnav .sub ul li h2 a, ul#topnav .sub ul li h2 a:hover {
	padding: 5px 0;
	background-image: none;
	color: #c10707;
}
ul#topnav .sub ul li h2 a:hover {
	background-image: none;
	text-decoration: underline;
}
ul#topnav .sub ul li a {
	float: none; 
	text-indent: 0;
	height: auto;
	background: url(../images/navlist_arrow.png) no-repeat 0px 10px;
	padding: 0 0 0 18px;
	margin: 0 10px;
	display: block;
	text-decoration: none;
	color: #757575;
	font-size:1.1em;
	text-shadow: none;
	border-bottom: 1px solid #e6e6d8;
	text-transform: none;
	line-height:27px;
}
ul#topnav .sub ul li a:hover {
	color: #c50a0a;
	background: url(../images/navlist_arrow_hover.png) no-repeat 0px 10px;
	text-decoration: underline;
}
 
span.dd_action {
	height:6px;
	padding:0 0 0 10px;
	width:9px;
}
 
span.single_wrapper {
	float:left;
	margin:6px 10px;
	padding:0 15px;
}
 
span.single_wrapper:hover, li.current a span.single_wrapper {
	background: white;
	color: black;
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FFFFFFFF, endColorstr=#FFe5e5e5);
	background-image: -moz-linear-gradient(	top, #FFFFFF, #e5e5e5);
	background-image: -webkit-gradient( linear,	left top, left bottom, from(#FFFFFF), to(#e5e5e5));
 
	border-radius: 	       7px; /* Propriété CSS3 générale et pour Opera */
	-moz-border-radius:    7px; /* Propriété CSS3 pour Firefox */
	-khtml-border-radius:  7px; /* Propriété CSS3 pour navigateurs KHTML */
	-webkit-border-radius: 7px; /* Propriété CSS3 pour navigateurs Webkit */
 
	box-shadow:         0px 0px 2px #343333; /* Propriété CSS3 */
	-webkit-box-shadow: 0px 0px 2px #343333; /* Propriété CSS3 pour Firefox */
	-moz-box-shadow:    0px 0px 2px #343333; /* Propriété CSS3 pour navigateurs Webkit */
}
 
span.single_wrapper:active {
	background: white;	
	color: black;
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FFe5e5e5, endColorstr=#FFFFFFFF);
	background-image: -moz-linear-gradient(	top, #e5e5e5, #FFFFFF);
	background-image: -webkit-gradient( linear, left top, left bottom, from(#e5e5e5), to(#FFFFFF));
 
	border-radius:         7px;
	-moz-border-radius:    7px;
	-khtml-border-radius:  7px;
	-webkit-border-radius: 7px;
 
	box-shadow:         0px 0px 2px #343333;
	-webkit-box-shadow: 0px 0px 2px #343333;
	-moz-box-shadow:    0px 0px 2px #343333;
}
 
span.dd_wrapper {
	float:left;
	margin:6px 10px 0;
	padding:0 11px 6px 18px;
}
 
li.liSub a:hover span.dd_wrapper, li.liSub:hover a span.dd_wrapper {
	z-index:      100;
	background:   white;
	color: 		  black;
	border-top:   1px solid #e5e5e5;	
	border-right: 1px solid #989898;
	padding:	  0 10px 6px 18px;	
 
	/* -- CSS3 stuff -- */
 
	text-shadow: none;
 
	filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#dfdfdf, endColorstr=#f8f8f8); /* Pour IE */
	background-image: -moz-linear-gradient(	top, #e5e5e5, #FFFFFF); /* Pour Firefox */
	background-image: -webkit-gradient( linear,	left top, left bottom, from(#e5e5e5), to(#FFFFFF)); /* Pour Webkit */
 
	border-top-right-radius:		 7px;
	-moz-border-radius-topleft: 	 7px;
	-webkit-border-top-left-radius:  7px;
	-khtml-border-radius-topleft: 	 7px;
 
	border-top-left-radius:		     7px;
	-moz-border-radius-topright: 	 7px;
	-webkit-border-top-right-radius: 7px;
	-khtml-border-radius-topright: 	 7px;
}
#header {
	background:url("../images/new-bannniere-4.jpg") no-repeat scroll 0 0 transparent;
	width: 850px; height: 163px;
	float: left;
}
#nav_wrapper {
	clear: left;
}
a { color: #565656; text-decoration: underline; }
a:hover { text-decoration:none ; }
 
.cl, .clear { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }
 
.shell { width:960px; margin:0; position:relative; }
 
h2 { padding-bottom:4px; background:url(images/h2.gif) left bottom repeat-x; margin-bottom:9px; font-family: "Trebuchet MS", Arial, Sans-Serif; font-size:27px; color:#272728; }
 
h3 { color:#fff; font-size:20px; padding-bottom:10px; }
 
h5 { font-size:10px; color:#4062b7; font-weight:normal; padding-bottom:2px; }
h5 a { color:#4062b7; text-decoration:none; }
h5 a:hover { color:#4062b7; text-decoration:underline; }
 
.button { font-size:11px; color:#2a2b22; font-weight:bold; text-decoration:none; }
.button span { font-size:11px; color:#2a2b22; font-weight:bold; cursor:pointer; }
 
/*
	Header
*/
 
/*#header { background:url(../images/header.jpg) left top repeat-x; height:75px; }*/
 
/*#logo { float:left; width:201px; height:75px; text-align:left; }
#logo a {
	float:left;
	width:220px;
	height:150px;
	font-size:0;
	line-height:0;
	text-indent:-4000px;
	background-image: url(images/logo_casanova.jpg);
	background-repeat: no-repeat;
}*/
 
/* Navigation */
/*#navigation { float:right; padding-top:5px; background:url(images/navigation-separator.jpg) right 1px no-repeat; }
#navigation ul { list-style:none; padding-right:1px; }
/*#navigation ul li { float:left; padding-left:1px; background:url(images/navigation-separator.jpg) left 1px no-repeat; }
#navigation ul li a {
	float:left;
	padding:0 16px 0 15px;
	height:64px;
	line-height:64px;
	font-weight:bold;
	font-size:13px;
	color:#E6B802;
	text-decoration:none;
}
 #navigation ul li a:hover,
#navigation ul li a.active { background:url(images/navigation-active.gif); color:#fff; }
#navigation ul li a span { float:left; } */
 
 
 
/* 
	Intro
*/
 
#intro { background:url(../images/intro.gif) left top repeat-x; height:418px; padding-top:60px; }
 
#intro .slider-holder { width:1500px; height:353px;  overflow:hidden; left:80px }
 
#intro .slider-holder ul,
.jcarousel-clip { list-style:none; width:1000px; height:353px; position:relative; overflow:hidden; }
#intro .slider-holder ul li { float:left; position:relative; width:960px; height:353px; list-style:none; }
#intro .slider-holder .offer-image { position:absolute; top:0; left:0; }
#intro .slider-holder .offer-image img { border:1px solid #a7a0a0; }
#intro .slider-holder .offer-data { position:absolute; top:1px; right:1px; height:317px; width:230px; background:url(../images/semi-transparent.png); padding:34px 20px 0 25px; }
#intro .slider-holder .offer-data .entry { height:212px;}
#intro .slider-holder .offer-data p { color:#dfd5d5; line-height:18px; padding-bottom:18px; text-align:justify; }
#intro .slider-holder .offer-data p a { color:#dfd5d5; }
 
#intro .slider-holder .offer-data .buttons { padding-right:4px; }
 
#intro .slider-holder .offer-data .buttons .button,
#intro .slider-holder .offer-data .buttons .button span { height:29px; line-height:29px; float:left; }
#intro .slider-holder .offer-data .buttons .button { float:right; background:url(../images/intro-button.jpg) left top repeat-x; border:1px solid #434340; padding:0 8px; }
#intro .slider-holder .offer-data .buttons .button span { background:url(../images/intro-button-span.jpg) left top no-repeat; padding-left:7px; }
 
#intro .slider-navigation { height:24px; background:url(../images/intro-shadow.jpg) left top no-repeat; padding-top:36px; }
#intro .slider-navigation ul { list-style:none; margin-left:420px; }
#intro .slider-navigation ul li { float:left; }
#intro .slider-navigation ul li a { background:url(../images/slider-navigation-normal.jpg); width:19px; height:20px; display:block; font-size:0; line-height:0; text-indent:-4000px; text-decoration:none; }
#intro .slider-navigation ul li a.active,
#intro .slider-navigation ul li a:hover { background:url(../(images/slider-navigation-active.jpg); }
 
/* 
	Main
*/
 
#main { background:#f8f8f8 url(../images/main.jpg) left top repeat-x; }
#main .shell { padding:25px 0; }
 
#main p { padding-bottom:10px; line-height:17px; }
.box { float:left; width:306px; padding:0 19px 0 0; }
.last-box { padding-right:0; }
 
.box .entry { height:217px; padding-left:2px; }
 
.box .big-image { padding:4px 0 10px 0; }
.box .big-image img { border:2px solid #fff; }
 
.box .buttons .button,
.box .buttons .button span { background:url(../images/main-button.jpg) repeat-x; height:29px; line-height:29px; float:right; display:inline; border:1px solid #bfbebe; padding:0 8px; }
.box .buttons .button span { float:left; border:0; background:url(../images/main-button-span.jpg) left top no-repeat; padding:0 0 0 7px; }
 
#main .news { }
#main .news ul { list-style:none; }
#main .news ul li { border-bottom:1px dotted #e8d0d2; padding-bottom:7px; margin-bottom:15px; }
#main .news ul li.last { border-bottom:0; padding-bottom:0; margin-bottom:0; }
#main .news ul li .post-image { float:left; width:76px; padding:3px 22px 0 0; }
#main .news ul li .post-image img { border:2px solid #fff; }
#main .news ul li .post-data { float:left; width:203px; }
#main .news ul li .post-data p { color:#413f3f; line-height:18px; padding-bottom:0; }
#main .news ul li .post-data a { color:#4062b7; }
 
.bullet-list ul { list-style:none; padding-top:1px; }
.bullet-list ul li { line-height:12px; background:url(../images/ul-bullet.gif) left 5px no-repeat; padding:0 0 14px 10px; }
.bullet-list ul li a { color:#4062b7; }
/*
	Footer
*/
 
#footer { background:url(../images/footer.jpg) left top repeat-x; color:#b3adad; padding:24px 4px; font-size:10px; }
#footer a { color:#b3adad; text-decoration:none; }
#footer a:hover { text-decoration:underline; }
 
#footer .footer-navigation { }
#footer .footer-navigation ul { list-style:none; }
#footer .footer-navigation ul li { float:left; padding-right:8px; margin-right:8px; border-right:1px solid #b3adad; height:10px; line-height:10px; }
#footer .footer-navigation ul li.last { padding-right:0; margin-right:0; border-right:0;  }
#footer .footer-navigation ul li a { }
 
#footer .right { float:right; font-family:Verdana, Arial, Sans-Serif; }
#footer .right a { color:#dad7d7; font-weight:bold; text-decoration:underline; }
#footer .right a:hover { text-decoration:none; }
/************************************************************/
#slider {
 
    /* You MUST specify the width and height */
    width:600px;
    height:300px;
    position:relative;  
    overflow:hidden;
	margin-left:25%;
 
 
}
 
#mask-gallery {
 
    overflow:hidden;    
}
 
#gallery {
 
    /* Clear the list style */
    list-style:none;
    margin:0;
    padding:0;
 
    z-index:0;
 
    /* width = total items multiply with #mask gallery width */
    width:900px;
    overflow:hidden;
}
 
    #gallery li {
 
 
        /* float left, so that the items are arrangged horizontally */
        float:left;
    }
 
 
#mask-excerpt {
 
    /* Set the position */
    position:absolute;  
    top:0;
    left:0;
    z-index:0px;
 
    /* width should be lesser than #slider width */
    width:100px;
    overflow:hidden;    
 
}
 
#excerpt {
    /* Opacity setting for different browsers */
    filter:alpha(opacity=60);
    -moz-opacity:0.6;  
    -khtml-opacity: 0.6;
    opacity: 0.6;  
 
    /* Clear the list style */
    list-style:none;
    margin:0;
    padding:0;
 
    /* Set the position */
    z-index:10;
    position:absolute;
    top:0;
    left:0;
 
    /* Set the style */
    width:100px;
    background-color:#000;
    overflow:hidden;
    font-family:arial;
    font-size:12px;
    color:#fff; 
}
 
    #excerpt li {
        padding:5px;
    }
 
 
 
.clear {
    clear:both; 
}
jules_diedhiou est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 15h36.


 
 
 
 
Partenaires

Hébergement Web