Ma page xHTML n'affiche pas le CSS
bonjour
j'ai crée un dossier s’appelle css dans répertoire WebContent qui contient style de ma page et j'ai ajouté la balise dans ma page web pour voir
changer sur la page mais rien a changé
Code:
1 2 3 4 5 6 7 8 9 10 11
|
body {
background-color: black;
color: black;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
h1 {
color: purple;
font-family: Arial Black, sans-serif;
border-bottom: 1px solid purple;
} |
et la page
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
<!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"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<h:outputStylesheet library="css" name="monstyle.css"/>
<title>test</title>
</h:head>
<h:body>
<h1>salut</h1>
</h:body>
</html> |
merci d'avance