나는 prime-faces 용으로 css 파일을 만들었지 만 제작에는 지쳤지만 작동하지 않습니다.CSS가 jsf에서 작동하지 않습니다
이 내있는 style.css 파일입니다
<!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" dir="rtl">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<style type="text/css">
*{
padding:0px;
margin:0px;
}
body{
background-color:#ffffff;
}
.head1{
background-repeat:repeat-x;
background-image: url('images/rd-el_03.png');
height:174px;
}
.head2{
background-image: url('images/rd-el_02.png');
width:364px;
height:174px;
margin-left:auto;
margin-right:auto;
background-repeat:no-repeat;
}
img{
border:0;
}
.footer1{
background-image: url('images/rd-el_07.png');
height:87px;
background-repeat:repeat-x;
}
.footer2{
background-image: url('images/rd-el_06.png');
float:left;
width:89px;
height:87px;
background-repeat:no-repeat;
}
.footer3{
background-image: url('images/rd-el_09.png');
width:272px;
height:87px;
float:right;
background-repeat:no-repeat;
}
</style>
</head>
<body>
<div class="head1">
<div class="head2"></div>
</div>
<div class="footer1">
<a href="http://tl4s.com.sa" title="تصميم منتدى"><div class="footer2"></div></a>
<div class="footer3"></div>
</div>
</body>
</html>
이있는 style.css가 아래의 WebContent 입니다 | - 자원 | -- css |
-있는 style.css 가 :
내 XHTML 파일이 코드하지만 행운
<h:head>
<h:outputStylesheet name="css/styles.css" />
</h:head>