encore un petit pb :

style.css
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
body {background-color:#333333;background-repeat:no-repeat; font-family:"Edwardian Script ITC"; font-size:24px; color:#FFFFFF; text-align:justify;}
 
img {border:0}
 
.index {position:absolute;top:50%;left:50%;margin-left:-437.5px;margin-top:-428.5px;} /*cette règle est créer pour la seule page d'index*/
 
.aligntext {margin-left:auto; margin-right:auto;
sommaire.html
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>sommaire</title>
</head>
 
<body class="aligntext">
blablablablablabla</body>
</html>
pourquoi n'y a-t-il aucune marge autour du texte ?