title: Style JSF datatable with primefaces
body: <p>How can I style my datatable with CSS? I tried a lot of solutions, but nothing works. I tried the one in primefaces official website and primefaces user guide, but neither of them work.</p>
  
  <p>Here's the code I have:</p>
  
  <pre><code>&lt;p:dataTable var="car" value="#{carListController.cars}"&gt;
     &lt;p:column filterBy=”#{car.model}”&gt;
        &lt;f:facet name="header"&gt; 
            &lt;h:outputText value="Model" /&gt;
        &lt;/f:facet&gt;
        &lt;h:outputText value="#{car.model}" /&gt;
     &lt;/p:column&gt;
     ...more columns 
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>If anyone can help me out here, I would very much appreciate it.</p>