Enfait j'aimerai placé des calques à des endroits précis (banniere au pixel près ...) Je vous montre le code qui marche avec FIREFOX mais qui n'est pas bien aligné dans EXPLORER !!!
HTML :
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>MaNio Wo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="design" href="styles/design.css" />
<meta name="keywords" content="Manio 54">
</head>
<body>
<div id="banniere">
<a href="http://www.prizee.com/?refer=Popom54" target=_blank ><img src="http://www.prizee.com/images/promo/prizee-468x60-v3.jpg" border=0 width=468 height=60></a>
</div>
<div id="nom_page"> <h3>Acceuil</h3>
</div>
<div id="menu">
</div>
</body>
</html>
CSS :
Code : Tout sélectionner
body
{
background-image:url("../fond/fondn.png"); /*fond*/
width: 1024px; /*largeur*/
margin: auto;
font-family: "Comic Sans MS", Arial, Verdana, serif;
}
#banniere
{
width: 468px;
height: 60px;
margin-left: 244px;
margin-top: 250px; /* Marge du haut */
}
#nom_page
{
margin-top: 26px; /* Marge du haut */
margin-left: 455px;
color: red;
height: 20px;
}