Welcome Guest Search | Active Topics | Sign In | Register

ConvertHtml: Border not rendering Options
Joren
Posted: Tuesday, October 30, 2012 4:58:58 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2012
Posts: 9
Hi,

I'm having a little trouble with the rendering of table borders. If the border width is 1pt or more, it shows up fine in the generated PDF. If it is 0.5pt, the border lines aren't rendered.

The borders in the sample below show fine when viewed in a browser. When I generate a PDF from this, only the top row has a border.

Code: HTML/ASPX
<table width="192" border="0" cellspacing="0" cellpadding="0" style="width: 144pt; border-collapse: collapse">
    <colgroup>
        <col width="64" span="3" style="width: 48pt"></col>
    </colgroup>
    <tbody>
        <tr height="20" style="height: 15pt">
            <td width="64" height="20" class="xl65" style="border-bottom: windowtext 1pt solid;
                border-left: windowtext 1pt solid; background-color: transparent; width: 48pt;
                height: 15pt; border-top: windowtext 1pt solid; border-right: windowtext 1pt solid">
                <font face="Calibri">qfsdf</font>
            </td>
            <td width="64" class="xl65" style="border-bottom: windowtext 1pt solid; border-left: windowtext;
                background-color: transparent; width: 48pt; border-top: windowtext 1pt solid;
                border-right: windowtext 1pt solid">
                <font face="Calibri"> </font>
            </td>
        </tr>
        <tr height="20" style="height: 15pt">
            <td height="20" class="xl65" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid;
                background-color: transparent; height: 15pt; border-top: windowtext; border-right: windowtext 0.5pt solid">
                <font face="Calibri">qsdf</font>
            </td>
            <td class="xl65" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext;
                background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid">
                <font face="Calibri"> </font>
            </td>
        </tr>
    </tbody>
</table>


Any suggestions/ideas?

Kind regards,

Joren
eo_support
Posted: Tuesday, October 30, 2012 9:08:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

What version do you use? We tested your HTML with the latest version and it appears to be working fine.

Thanks!
Joren
Posted: Wednesday, October 31, 2012 6:07:48 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2012
Posts: 9
Hi,

We're using EO.Pdf version 4.0.29.2.
If needed, I can provide the full source of the page we're trying to convert (the above is only an excerpt from the actual page).

Regards,

Joren
eo_support
Posted: Wednesday, October 31, 2012 1:50:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Please check the latest build on our download page first. If that still does not work, please try create a minimum test page to demonstrate the problem and we will be happy to take a look.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.