Hi,
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:
<table class="ViolationListDataTable" cellspacing="0" cellpadding="0">
<tr class="Header">
<th class="checkbox">
<input type="checkbox" name="SEL_ALL" value="SEL_ALL" />
</th>
<th class="selstatus">
Selection
</th>
<th class="objfullname">
Object Full Name
</th>
<th class="metric">
Metric Name
</th>
<th class="user">
User
</th>
<th class="snapname">
First Snapshot
</th>
<th class="date">
Last update
</th>
<th class="comment">
Justify
</th>
</tr>
<tr class="Content">
<td class="checkbox">
<input type="checkbox" name="toto" value="1446" />
</td>
<td class="selstatus">
<img src="titi.png" />
</td>
<td class="objfullname">
<a href="#">
TESTADG\MS25ADG.TST_PCHIT_KB..APM_SCOPE_FORMS
</a>
</td>
<td class="metric">
Avoid Too Many Copy Pasted Artifacts
</td>
<td class="user">
CAST
</td>
<td class="snapname">
ADG auto snap 8
</td>
<td class="date">
05-26-2010
</td>
<td class="comment">
this is my comment for exclusion et je raconte ma vie
</td>
</tr>
</table>--
Part of CSS file formatting the table:
.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%;
}