0

I'm configuring a project with primefaces 6.1

My problem is that when I am trying to do this the sample.css is not loading

enter image description here

update:

I tried to do something like :

<h:body>
<h:outputStylesheet name="/resources/css/sample.css" />
...
</h:body>

<h:body>
<h:outputStylesheet name="/css/sample.css" />
...
</h:body>

<h:body>
    <f:facet name="last">
    <h:outputStylesheet name="/resources/css/sample.css" /> 
    </f:facet>
  ....
</h:body>

my css file

sample.css


  #box{   
        width:170px;
        height:120px;
        margin:2px 10px 20px 10px;
    }
Kukeltje
  • 12,223
  • 4
  • 24
  • 47
dsadffg
  • 65
  • 1
  • 1
  • 5

0 Answers0