voilà, pour me lancer en xhtml / full-css j'aurais besoin d'une solution conforme pour ce projet de mise en page...
Si ma page index.html se présente ainsi :
et que ma feuille style.css se présente ainsi :<!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>page accueuil</title>
</head>
<body>
<a href="sommaire.html"><img src="imageindex.gif" alt="" border="0" />
</a></body>
</html>
Comment dois-je faire pour que l'image de la page d'index soit centrée horizontalement et verticalement ?body {background-color:#333333;
background-position:center;
background-repeat:no-repeat;
}
MERCI !!!!!
Partager