Bonjour,
Je sais qu'il a été de nombreuses fois répondu à ce sujet mais... je n'arrive toujours pas à rentrer du ccs dans du html !
Voilà un bout de ma feuille html :
<!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" xml:lang="fr" >
<head>
<title>Site de l'alliance Walhalla</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="style1" href="style1.css">
</head>
ET de ma feuille CCS ( fais avec quelques styles perso)
title
{
color: maroon; /* couleur marron */
font-family:"Comic Sans MS", georgia, "Times New Roman", "Trebuchet MS", serif;
}
.titre
{
color: maroon; /* couleur marron */
font-family:"Comic Sans MS", georgia, "Times New Roman", "Trebuchet MS", serif;
}
.textecentré
{
text-align: center; /* texte centré */
font-size: xx-large;
color: red;
}
.grosseimage
{
font-size : 300%; /* 300% de la taille réelle */
Afficher la suite