Re: PDF Generation:- Background Image or background Color disappeared from the PDF file

  •  10-31-2008, 9:35 AM

    Re: PDF Generation:- Background Image or background Color disappeared from the PDF file

    Not to hijack this thread, but it you enter the following into the above web page, the resulting pdf looks bad.....   No font changes, and the table isn't displayed correctly......
    Also having lots of problems with pdf's...
    Jim

    <html>
        <head>
            <title>Sample document for test</title>
        </head>
    <body>
    <div>Hello world</div>
    <div>&nbsp;</div>
    <div style="font-size: 18pt; font-family: Arial">Bigger&nbsp;<span style="font-family: Times New Roman">TimesRoman</span></div>
    <div style="font-size: 18pt; font-family: Arial">
    <table style="border-right: 2px; border-top: 2px; border-left: 2px; border-bottom: 2px" cellspacing="2" cellpadding="2" width="500" border="0">
        <tbody>
            <tr>
                <td>1</td>
                <td>2</td>
                <td>3</td>
            </tr>
            <tr>
                <td>4fasfsafsafasfsadfdsaf</td>
                <td colspan="2">5</td>
            </tr>
            <tr>
                <td>7</td>
                <td>8fsafdsafsa</td>
                <td>9fsdafdsafdsafdsafdsa</td>
            </tr>
        </tbody>
    </table>
    </div>
    </body>
    </html>

View Complete Thread