Salut

voici mon code 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
	<!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" lang="fr">	
		<head>
			<title></title>
			<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 
		<link href="main2.css" rel="stylesheet" type="text/css" />
 
 
		</head>
 
		<body>
 
			<div id="conteneur">
				<div id="header">			
 
				</div>
			</div>
		</body>
	</html>
le 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
	body {
		margin: 0;
		margin-top:10px;
		padding: 0;
		font-family:Verdana, Arial, Helvetica, sans-serif;
		font-size: 0.8em;
		background-color: #fff;
	}
 
	#conteneur {
		width: 970px;
		margin-left: auto;
		margin-right: auto;
		background-color: #99C00C;
		height:500px;
	}
 
	#header {
		position:absolute;
		top:50px;
		left:100px;
		width:50px;
		height:50px;
		background-color: #99CCCC;
	}
Pourquoi la boite header ne bouge pas avec l'autre ?

thx @+