Problème de CSS dans une page JSP
Bonjour,
J'aimerais lier un fichier CSS à ma page JSF et pour cela j'ai essayé de faire ceci
Code:
1 2 3
| <link rel="stylesheet"
type="text/css"
href="/css/CSS_Pied.css"/> |
mais rien n'est changé dans ma page.
Voilà mon fichier CSS_Pied.css qui se trouve dans webApp/css
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| body {
width : 100%;
height : 100%;
position : relative;
background-image : url("../images/en_tete_MV.png") repeat-x;
margin : 0%;
font-family: Arial, Helvetica, sans-serif;
color: #D72121;
margin: 0px 0px 0px 0px;
}
p{
margin-left : 30%;
margin-bottom : 2px;
margin-right: 0px
} |
Et Pied.jsp qui se trouve dans webContent
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet"
type="text/css"
href="/css/CSS_Pied.css"/>
</head>
<body>
<p>Copyright (C) 2013 Logisoft TOUS DROIT RESERVE.</p>
</body>
</html> |
Quelqu'un saurait-il m'indiquer d'où peut venir le problème ?
Merci d'avance pour votre aide.