早上好自定義的CSS文件,我在一個primefaces commandButton
應用樣式表有問題,但按鈕元素如下:primefaces與
<p:commandButton value="Complains" styleClass="styleOrange"/>
和樣式表:
.styleOrange {
background-color: orange;
}
將css文件放在css文件夾下的resources文件夾中:
這裏是css文件的include語句:
<h:head>
<h:outputStylesheet name="/resources/css/style.css" library="css" />
</h:head>