Oui j'ai bien le body dans toutes mes pages.
Voici ma première page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><link href="logo-got.png" type="image/png" rel="icon" />
<head>
<meta charset="UTF-8" />
<title>Titre</title>
<link type="image/png" rel="icon" href="favicon.png" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="lea-html.css" title="lea-html-css">
<link rel="stylesheet" type="text/css" href="cssmenu.css" title="lea-html-css">
<script type="text/JavaScript" src="JavaScript/ClientMenuIncluder.js"></script>
</head>
<body>
<a id="haut"></a>
<div id="page">
<div align="right"><a href=Page1FR.html><img align="right" src="logo_drapeau_francais.gif"/></a></div>
<div align="center"><img src="bannière2.png"width="900" height="180"></div>
<div id='cssmenu'>
</div>
<script LANGUAGE="JavaScript">
ClientMenuIncluder( 'cssmenu', 'cssmenu_include.html' );
</script>
<h1> Titre </h1>
<div width="950" height="900" style="background-image">
<img src="game_of_thrones_brush_set_by_wolf_2.png" width="700" height="700">
<div class="float-left" id="div3"><h3> <u><strong> The story </strong></u> </h3>
<p style="text-align:justify"; style="position: absolute">
Corps du texte
</p>
</div>
</div>
<a href="#haut"><img src="back_haut_page.png"></a>
<footer id="footer">
<h6 align="center"> nom du site </h6>
</footer>
</div>
</body>
</html>
Et ma page 2 :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><link href="logo-got.png" type="image/png" rel="icon" />
<head>
<meta charset="UTF-8" />
<title>Titre</title>
<link type="image/png" rel="icon" href="favicon.png" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="lea-html.css" title="lea-html-css">
<link rel="stylesheet" type="text/css" href="cssmenu.css" title="lea-html-css">
<script type="text/JavaScript" src="JavaScript/ClientMenuIncluder.js"></script>
</head>
<body>
<a id="haut"></a>
<div id="page">
<br>
<div><a href=Page2FR.html><img align="right" src="logo_drapeau_francais.gif"/></a></div>
<h1>Titre</h1>
<div id='cssmenu'>
</div>
<script LANGUAGE="JavaScript">
ClientMenuIncluder( 'cssmenu', 'cssmenu_include.html' );
</script>
<div>
<div class="float-left">
<img src="6033243060_6986b19cd4_z.jpg" width="300" height="400" />
</div>
<p align="center">
Corps du texte
</p>
<a href="#haut"><img src="back_haut_page.png"></a>
<footer id="footer">
<h6 align="center"> nom du site </h6>
</footer>
</div>
</body>
</html>
Et dans mon CSS j'ai bien tapé :
body {
background-color:#333333;
color: #A1312E;
font:normal 12pt Tahoma;
background-image:url(cadre_page2.png);
background-repeat:no-repeat;
background-position:50% 700%;
background-attachment: scroll;
}
Modifié par Jaina (18 Apr 2013 - 18:58)