Outils pour utilisateurs

Outils du site


public:asca:spip:xhtml-et-css

Ceci est une ancienne révision du document !


Formation SPIP - xhtml et css

XHTML et CSS

Fichier Xhtml

<!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" xml:lang="#LANG" lang="#LANG">
 
<head>
 
 <title>Parc Saint Paul</title>
 
 <link rel="stylesheet" href="./style.css" type="text/css" media="all" />
 
</head>
 
<body dir="ltr">
 
 <div id="page_accueil">
 
 </div>
</body>
</html>

Fichier CSS

body {
 margin: 0;
 
 
 }
 
 
.asca {
 font-variant:small-caps;
 font-style:italic;
 font-family:'Comic Sans MS','arial';
 font-size:28px;
 color:blue;
 font-weight:bold;
 border:1px solid red;
 text-align: center;
 background:#32e125 url(claudia.jpg) no-repeat  top left;
 height:100px;
 padding:10px;
 /*margin: 10px;*/
} 
 
 
#page_accueil {
 width: 1004px;
 height: 758px;
 margin: 0 auto;
 background-image: url(./page-accueil.jpg);
}
public/asca/spip/xhtml-et-css.1258101891.txt.gz · Dernière modification: 2009/11/13 09:44 de pielo