Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26659

    Hello

    We bought pd4ml lybrary 1 week ago. We are developing a web application and we use a trial of pd4ml library (apache tomcat 5.5) we generate a pdf from a html string (with css link) and it works fine. But when we put the application on production, the generated pdf doesn´t apply the css styles… we activate the log but there is no problems, only this message:
    “version: PD4ML 380 Pro
    loading CSS file http://www.czplus.es:8080/at/consultar_facturas/estilos_consulta_detallada_factura.css
    Warning: Invalid syntax in CSS selector: “”
    done in 110ms.”

    Can someone help me please??

    thank you!!!

    #28802

    First you need to resolve the CSS selector error.

    I’ve just checked http://www.czplus.es:8080/at/consultar_facturas/estilos_consulta_detallada_factura.css – it seems to be correct. Probably there are inline styles in your source HTML.

    #28803

    @PD4ML wrote:

    First you need to resolve the CSS selector error.

    I’ve just checked http://www.czplus.es:8080/at/consultar_facturas/estilos_consulta_detallada_factura.css – it seems to be correct. Probably there are inline styles in your source HTML.

    If i have warnings, no styles applies or only doesn´t apply the warning style??

    why it works in development and doesn´t work in production? i have same code…

    thank you for your quickly answer!!

    #28804

    Severe CSS error may fail the entire stylesheet applying. However, most probably, it is not your case, but I definitely makes sense to solve the issue.

    > why it works in development and doesn´t work in production? i have same code…

    Try to generate PDFs with bot versions and check in the PDF document properties PD4ML version numbers. Are they the same?

    #28805

    Good morning!!!

    Finally i get the solution to my problem… it was direction´s port 8080, with another link without port it works fine!!!

    But i don´t understand why with 8080 port it works in local…

    Thank you very much for your interest and your quick answers 🙂

    #28806

    Glad it works for you now.

    > But i don´t understand why with 8080 port it works in local…

    I suspect network issues: probably the remote server blocks outgoing 8080 requests etc.

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.