H:outputLabel não quebra as linhas no chrome ao mostrar texto

1 resposta
ale0790

h:outputLabel não quebra as linhas no chrome ao mostrar texto

no firefox funciona

[img]https://lh5.googleusercontent.com/-PImZ1vf0gP4/TlO9AKT9vTI/AAAAAAAAALE/D9VwFvYy7go/erro%252520eletrocon%2525202.JPG[/img]

ja no chrome não

[img]https://lh4.googleusercontent.com/-9vXWN_XRu7o/TlO876ApBnI/AAAAAAAAAK4/Yx64YMNEeiU/erro%252520eletrocon1.JPG[/img]

p:dialig onde mostro os dados
<p:dialog header="Detalhes" widgetVar="produtoVer" resizable="false" id="produtoVer"  
                   width="600" height="600" showEffect="fade" hideEffect="fade" modal="true">
                          <h:panelGrid id="painelDialogProdutoVer" columns="1" >
                  <h:outputLabel value="Nome:" style="font-weight: bold"/>
                  <h:outputLabel value="#{produtoBean.produto.nome}" style="color: blue;"/>
                   <h:outputLabel value="Descrição" style="font-weight: bold"/>
                   <h:outputText  value="#{produtoBean.produto.descricao}"  style="color: blue;" escape="false"/>
                   <h:outputLabel value="Medida:" style="font-weight: bold"/>
                   <h:outputLabel value="#{produtoBean.produto.medida}" style="color: blue;"/>
                     <h:outputLabel value="Categoria:" style="font-weight: bold"/>
                     <h:outputLabel value="#{produtoBean.produto.categoria.nome}" style="color: blue;"/>
                     <h:outputLabel value="Marca:" style="font-weight: bold"/>
                     <h:outputLabel value="#{produtoBean.produto.marca.nome}" style="color: blue;"/>
                   <h:outputLabel value="Valor:" style="font-weight: bold"/>
                   <h:outputLabel value="#{produtoBean.produto.valor}" style="color: blue;"/>
                     <h:outputLabel value="Quantidade:" style="font-weight: bold"/>
                     <h:outputLabel value="#{produtoBean.produto.quantidade}" style="color: blue;"/>
                      <h:panelGrid id="pJornal" rendered="#{produtoBean.produto.jornal!=null}">
                      <h:outputLabel value="Nome Jornal:" style="font-weight: bold"/>
                     <h:outputLabel value="#{produtoBean.produto.jornal.nome}" style="color: blue;"/>
                     <h:outputLabel value="Descrição Jornal:" style="font-weight: bold"/>
                     <h:outputLabel value="#{produtoBean.produto.jornal.descricao}" style="color: blue;"/>
                     </h:panelGrid>
                      <h:outputLabel value="Imagem:" style="font-weight: bold"/>
                    
                                  <p:graphicImage value="imagens/produtos/noimage.png" width="120" height="120" rendered="#{empty produtoBean.produto.imgList}"/>
                  <p:dataGrid var="img" value="#{produtoBean.produto.imgList}" columns="4" rendered="#{!empty produtoBean.produto.imgList}" style="border: 2px;">
                      <p:column>
                          <p:graphicImage value="imagens/produtos/#{img.nome}" style="width: 120px; height: 120px; border: 1px;"/>
                    </p:column>
                  </p:dataGrid> 
                </h:panelGrid>  
            </p:dialog>

Alguem ja passou por isso??

Valeu!

1 Resposta

R

tenta colocar ele dentro de uma div. Bom não sei se é a melhor opção, mas…

ou então, cria um hack pra css e altera o estilo .

Criado 23 de agosto de 2011
Ultima resposta 23 de ago. de 2011
Respostas 1
Participantes 2