Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26399


    I am using PD4ML Pro.

    The HTML file I want to convert into a PDF file contains a table formatted by CSS.
    Obviously, the rendered PDF file does not respect the width and padding properties I specified in my CSS file.

    Also, the following warning message appears several times:
    Warning: Invalid syntax in CSS selector: “”

    Can you explain this behaviour and suggest a fix/workaround ?

    Thank you.

    Part of HTML file generating the table:

    Selection Object Full Name Metric Name User First Snapshot Last update Justify

    Avoid Too Many Copy Pasted Artifacts CAST ADG auto snap 8 05-26-2010 this is my comment for exclusion et je raconte ma vie


    Part of CSS file formatting the table:
    [language=CSS:3hpogtmq].checkbox {
    display: none;
    .ViolationListDataTable {
    font-size: 8px;
    margin: 0 0 18px 0;
    width: 100%;
    table-layout: fixed;
    .ViolationListDataTable td {
    border-top: #999999 1px dotted;
    height: 16px;
    .ViolationListDataTable .metric,
    .ViolationListDataTable .objfullname,
    .ViolationListDataTable .comment,
    .ViolationListDataTable .user,
    .ViolationListDataTable .snapname {
    white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: left; padding-left: 1%;
    .ViolationListDataTable .selstatus,
    .ViolationListDataTable .date,
    .ViolationListDataTable .checkbox,
    .ViolationListDataTable .auto {
    text-align: center;
    .ViolationListDataTable .metric {
    width: 15%;
    .ViolationListDataTable .objfullname {
    width: 18%;
    .ViolationListDataTable .user {
    width: 10%;
    .ViolationListDataTable .snapname {
    width: 6%;
    .ViolationListDataTable .checkbox {
    width: 2%;
    .ViolationListDataTable .selstatus {
    width: 6%;
    .ViolationListDataTable .comment {
    width: 12%;
    .ViolationListDataTable .date {
    width: 10%;


    “Warning: Invalid syntax in CSS selector:” may cause the entire CSS stylesheet interpretation to fail. Your CSS sample should not cause the exception, obviously it comas from another stylesheet used in your documents.

    CSS parser, supplied with the most recent v361b2, addresses the issue.

    PD4ML does not support paddings, given in percents. But for width it should work. Please test it with the most recent version.

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

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