• Resolved trysundari

    (@trysundarisuarta)


    Hello everyone, iam want to create Table in PDF, iam using HTML code..
    In “Preview Your PDF” my table is show, but when iam download the pdf, my table cannot Show. Does anyone know how to solve it?

    //example of code HTML for create Table
    <style>
    table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    vertical-align: top;
    text-align: left;
    }
    </style>
    
    <p><b>CONTACT DETAILS</b></p>
    <table style=’table-layout:fixed;width:100%’>
    <tr>
    <td style=’width: 3%;’>1.</td>
    <td style=’width: 45%;’> Name</td>
    <td style=’width: 50%;’>[your-name]</td>
    </tr>

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    • This topic was modified 8 years ago by bdbrown.
    • This topic was modified 8 years ago by bdbrown.
Viewing 2 replies - 1 through 2 (of 2 total)
  • melodyliu

    (@melodyliu)

    I’m having this problem as well. The PDF attachment does not include any of the HTML or inline CSS formatting that I included.

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    You can’t include <style> tag.

    Just use <td style="">

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Code Cannot Running In PDF’ is closed to new replies.