How do you strip PrimeFaces from table edges?

0

Greetings to all,

I'm new as a Java programmer, and I'm working on the Frond-End programming part of a JSF2 project, but I'm having trouble drawing the edges of a table as you look down;

HerearethecodelinesoftheXHTMLpage;

<divclass="left-sidebar">

    <p:panelGrid columns="2" id="painel1"
            style="width: 50%; margin-top: 20px" columnClasses="rotulo, campo">
            <p:outputLabel value="SKU" for="sku" />
            <p:inputText id="sku" size="20" maxlength="20" />

            <p:outputLabel value="Nome" for="nome" />
            <p:inputText id="nome" size="20" maxlength="20" />
        </p:panelGrid>

    </div>

How do I strip these borders?

    
asked by anonymous 21.07.2015 / 22:23

1 answer

3

Create a css class:

.semBorda tr, .semBorda td {  
   border: none !important;  
}

And add in your panelGrid .

    
21.07.2015 / 22:28