Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

HTML to PDF bugg?

$
0
0

Hi!

We are using the latest version of Aspose and are trying to convert a HTML page into a PDF.

The HTML page contains a "Table of Content".
The ToC is created using a table with three columns.
The middle column has 100% width and a dotted bottom border.
The first column has "white-space:nowrap" set, since we don't want the text to be wraped.

This all works fine when browsing the HTML but when it get converted to pdf, the first column of text gets wraped.

Is there a way around it ?

Here is my HTML file:


  <table width='100%'>
        <tr>
            <td style='white-space: nowrap'>This is a long header that shouldnt be wraped since im using nowrap</td>
            <td style='border-bottom: 1px dotted black;' width='100%'>&nbsp;</td>
            <td width='30'>XX</td>
        </tr>
        <tr>
            <td colspan='3'>My description about the header</td>
        </tr>
    </table>


Viewing all articles
Browse latest Browse all 3131

Trending Articles