Link css file in jsf

Need to create a folder named "resources" in WebContent folder. Put the css files in css folder in the resources folder created.

in the xhtml page add the following:

Using <h:head>
               <h:outputStylesheet name="css/main.css" />
          </h:head>

Comments

Popular posts from this blog

CPU locks at 700Mhz

Set navigation drawer selected item from Fragment