The border is set to the generated tr and td elements, and not to table . So this should do:
.companyHeaderGrid.ui-panelgrid>*>tr, .companyHeaderGrid.ui-panelgrid .ui-panelgrid-cell { border: none; }
How did I find him? Just check the generated HTML output and all CSS style rules in the webdeveloper toolkit for Chrome (rightclick, Inspect Element or press F12). Firebug and IE9 have a similar set of tools. As for the confusion, just keep in mind that JSF / Facelets ultimately generates HTML and that CSS only applies to HTML markup and not to the JSF source code. Therefore, to use / finetune CSS, you need to search on the client side (web browser).

See also:
- How to override default PrimeFaces CSS with custom styles?
- Remove border from all PrimeFaces p: panelGrid components
If you are still on PrimeFaces 4 or older, use below:
.companyHeaderGrid.ui-panelgrid>*>tr, .companyHeaderGrid.ui-panelgrid>*>tr>td { border: none; }
BalusC May 02 '12 at 21:00 2012-05-02 21:00
source share