I am using Primefaces Extensions 0.5.1 and trying to use an .css file to change CSS configurations of my page, but <pe:inputNumber> doesn't recognize some changes, even if I put some !important attributes. Here is some code example:
Not working example:
Page
Code: Select all
<pe:inputNumber
id="peso"
styleClass="inputPeso"
decimalSeparator=","
thousandSeparator="."
decimalPlaces="3"
value="#{produtoBean.produto.peso}"/>
Code: Select all
.inputPeso
{
width: 20px !important;
margin-left: 20px;
float: left;
}
Page
Code: Select all
<pe:inputNumber
id="peso"
style="width: 20px;"
styleClass="inputPeso"
decimalSeparator=","
thousandSeparator="."
decimalPlaces="3"
value="#{produtoBean.produto.peso}"/>
Code: Select all
.inputPeso
{
margin-left: 20px;
float: left;
}
Thanks!