I am rendering a table with p:dataTable (PrimeFaces) and what I want to do is color the background of cells depending on the value of their content. This i
how about adding padding to your class , with px or percents...
something like this
.colored{ background-color:yellow; padding-top:25px; padding-bottom:25px; padding-right:50px; padding-left:50px; }