bonjour je viens vous demander de regarder mes code et avoir des conseil sur ceci ( je suis débutant) dans la créations de site. je pence avoir une erreur sur le positionnement merci a vous.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Teck-aide</title>
<link href="styles/styles.css" rel="stylesheet" />

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

</head>
<body>
<div id="conteneur">
	<div id="header">
<figure>
<img src="styles/img/terre-europe.png" alt="logo1" width="177" height="139" align="right"/>
</figure>
<h1>Teck-aide</h1>
  <h2>Nous somme la pour vous aider.</h2>
  <nav>
        <ul>
          <li><a href="#" id="accueil">accueil</a></li>
          <li><a href="#" id="Maintenance">Maintenance</a></li>
          <li><a href="#" id="Dépannage">Dépannage</a></li>
          <li><a href="#" id="Dépannageàdistance">Dépannage à distance</a></li>
          <li><a href="#" id="Formation">Formation</a></li>
          <li><a href="#" id="Contact">Contact</a></li>
		</ul>
 </nav>
</body>
</html>

et le css
@charset "UTF-8";
/* CSS Document */

abbr,article,aside,audio,canvas,datalist,details,figure,dialog,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video {display:block;}

html{
	height:100%;
}

body{
	background-color:#999;
	background-image:url(img/back.png);
	background-repeat:repeat-x;
	background-position:top;
}

#conteneur{
	width:960px;
	margin:-45px auto;
}

#header h1{
	color:#ccc;
	text-shadow:0 0 7px rgba(0,0,0,1);
	font-size:5em;
	height:0.5em;
	
	padding-left:15px;
	-webkit-transition-property: text-shadow padding;
	-webkit-transition-duration:1s;
}

#header h1:hover{
	padding-left:12px;
	padding-top:-3px;
	text-shadow:7px 7px 7px rgba(0,0,0,0.6);
}	

h2{
	font-size:1.1em;
	margin:30px;
 }
 
nav ul{
	float: left;
	margin-left:30px;
	list-style-type: none;
	width: 850px;
	height: 44px;

	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;

	background: #e3e3e3;
	background: -moz-linear-gradient(top, #ccc, #999);
	background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));

	-moz-box-shadow: 1px 1px 3px #333;
	-webkit-box-shadow: 1px 1px 3px #333;
	box-shadow: 1px 1px 3px #333;

	text-shadow: 0 1px 0 white;
}
}
nav ul li a {
	display:block;
	width:150px;
	height:28px;
	text-align:center;
	text-decoration:none;
	font-weight:900;
	font-size:15px;
	line-height:25px;
}

nav ul a{
	display: block;
	padding: 10px 20px 10px 20px;
	list-style-type: none;
	float: left;
	color: #454545;
	font-size: 20px;
	text-decoration: none;
}

nav ul a:hover{
	display: block;
	padding: 10px 20px 10px 20px;
	list-style-type: none;
	float: left;
	color: #ddd;

	text-shadow: 0 1px 0 black;

	background: #555;
	background: -moz-linear-gradient(top, #444, #555);
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#555));
}

Smiley confused merci
merci je n'avais pas vue. voila ou je suis arriver quand penser vous, merci. voila une image de ce que je veut faire et mes code. merci
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Teck-aide</title>
<link href="styles/styles.css" rel="stylesheet" />

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

</head>
<body>
<div id="conteneur">

[confused]
	<div id="contenu">
		<div id="header">
			<figure>
				<img class="image" src="styles/img/terre-europe.png" alt="logo1" />
			</figure>
	<h1>Teck-aide</h1>
		<h2>Nous somme la pour vous aider.</h2>
		</div>
    <nav>
        <ul>
          <li><a href="#" id="accueil">accueil</a></li>
          <li><a href="#" id="Maintenance">Maintenance</a></li>
          <li><a href="#" id="Dépannage">Dépannage</a></li>
          <li><a href="#" id="Dépannageàdistance">Dépannage à distance</a></li>
          <li><a href="#" id="Formation">Formation</a></li>
          <li><a href="#" id="Contact">Contact</a></li>
		</ul>
	</nav>
	</div>			
	<div id="article">
	<p>blablatest</p>
	</div>
	<div id="article1">
	<p>blablatest1</p>
	</div>
		<div id="article2">
	<p>blablatest2</p>
	</div>
		<div id="article3">
	<p>blablatest3</p>
	</div>
	<div id="aside">
     <p>block droit</>
	</aside>
	
		<div id="footer">
				<p>Copyright©teck-aide 2011, 2012, tous droits réservés.</p>
			</div>
</div>
</body>
</html>

@charset "UTF-8";
/* CSS Document */

abbr,article,aside,audio,canvas,datalist,details,figure,dialog,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video {display:block;}

html{
	height:100%;
	margin: 0;
}

body{
	background-color:#999;
	background-image:url(img/back.png);
	background-repeat:repeat-x;
	background-position:top;
}

#conteneur{
	width:960px;
	padding: 0 10px;
	margin:0px auto;
}

#article, #article1, #article2, #article3, #aside, #footeur{
	background-color: #fbfbfb;
}
/*--------------HEADER------------------*/
#header h1{
	margin-top:10px;
	color:#ccc;
	text-shadow:0 0 7px rgba(0,0,0,1);
	font-size:5em;
	height:0.5em;
	
	padding-left:15px;
	-webkit-transition-property: text-shadow padding;
	-webkit-transition-duration:1s;
}

#header h1:hover{
	padding-left:12px;
	padding-top:-3px;
	text-shadow:7px 7px 7px rgba(0,0,0,0.6);
}	

h2{
	font-size:1.1em;
	margin:25px;
	color:#444;
 }
 
 .image{
 float: right;
 }
 
 /*----------------MENU------------------*/
nav ul{
	float: left;
	margin-top:30px;
	margin-left:30px;
	list-style-type: none;
	width: 850px;
	height: 44px;

	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;

	background: #e3e3e3;
	background: -moz-linear-gradient(top, #ccc, #999);
	background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));

	-moz-box-shadow: 1px 1px 3px #333;
	-webkit-box-shadow: 1px 1px 3px #333;
	box-shadow: 1px 1px 3px #333;

	text-shadow: 0 1px 0 white;
}
}
nav ul li a {
	display:block;
	width:150px;
	height:25px;
	text-align:center;
	text-decoration:none;
	font-weight:900;
	font-size:15px;
	line-height:25px;
}

nav ul a{
	display: block;
	padding: 10px 20px 10px 20px;
	list-style-type: none;
	float: left;
	color: #454545;
	font-size: 20px;
	text-decoration: none;
}

nav ul a:hover{
	display: block;
	padding: 10px 20px 10px 20px;
	list-style-type: none;
	float: left;
	color: #ddd;

	text-shadow: 0 1px 0 black;

	background: #555;
	background: -moz-linear-gradient(top, #444, #555);
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#555));
}

 /*-------------article---------------*/
#article{
	position:absolute;
	width: 250px;
	height:250px;
	text-align:center;
	margin: 100px auto auto 50px;
	background:fbfbfb;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
#article1{
	position:absolute;
	width:250px;
	height:250px;
	text-align:center;
	margin: 100px 0 0 360px;
	background:fbfbfb;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
#article2{
	position:absolute;
	width:250px;
	height:250px;
	text-align:center;
	margin:420px 0 0 50px;
	background:fbfbfb;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
#article3{
	position:absolute;
	width:250px;
	height:250px;
	text-align:center;
	margin:420px 0 0 360px;
	background:fbfbfb;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}
#aside{
	width:250px;
	height:560px;
	text-align:center;
	margin:130px 0 0 660px;
	padding:10px 10px 10px 10px
	background:fbfbfb;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}

 /*-------------pied de page---------------*/
 #footer p {
padding-left: 0%; /*positon du text*/
	margin: 2px 0;
	font-size: 1em;
	}
#footer {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0; /*position du footer*/
	color: #fff;
	background:#555;
	}

upload/41143-Capture.PNG
Modifié par bruno09 (29 Oct 2011 - 11:33)