pour l´index:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans
itional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition
al.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="format.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Bienvenue...</title>
</head>
<body>
<div class="global">
<div class="header">
<? //
include("header.php");
?>
<div class="contenu">
<div class="contenu_texte"><br />
</div>
</div><? //
include("footer.php");
?> </div></div>
</html>
pour le header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans
itional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition
al.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="format.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
</head>
<body>
<div class="global"><div class="header"><img src="images/header.png" class="header" alt="images" /></img><img src="images/menu01.png" class="menu01" alt="navigation" /></img><img src="images/menu02.png" alt="header" width="500" height="41" class="header" /></img></div><img src="images/sousmenu02.png" alt="header" width="500" height="95" class="header" /></img><img src="images/titrepage.png" alt="titrepage" width="500" height="34" /></div>
</div>
</html>
et le css:
<style type="text/css">
body {
background-image:url(images/background.png);
background-attachment:fixed;}
</style>
body {
margin: 0;
topmargin=0 /* pas de marge */
font-family: tahoma; /* police */
font-size: 12px; /* taille du texte */
text-align:center; /* alignement */
}
.global {
width: 500px; /* largeur du bloc global */
margin-right:auto;
margin-left:auto;
margin-top:0px;
padding:0px;
text-align:justify;
}
.header {
width:500px;
margin-top:0px;
padding:0px;
background-image: url(´images/´);
border:;
}
.contenu {
width:500px;
margin-right:auto;
background-image: url(´images/fd.png´);
text-align:left;
}
.contenu_texte {
width: 480px;
margin-left:10px;
text-align: justify;
color: #679E00;
}
.footer {
width:500px;
background-image: url(´images/´);
border:;
}
donc, dans mes includes, les balises <img... /> sont correct, le background est bien dans le css!