How to strip table edges Primefaces?

Asked

Viewed 334 times

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 a hard time getting the edges off a table as you see below;

inserir a descrição da imagem aqui

Here are the code lines of the XHTML page;

<div class="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 get these edges off?

  • See if the answer to this question helps you. http://stackoverflow.com/questions/10421581/how-to-remove-border-from-specific-primefaces-ppanelgrid

1 answer

3

Create a css class:

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

And add to your panelGrid.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.