PDF rendering restriction

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yberges
    replied
    hello sorry i already have <table> <tbody> etc ...
    nothing more i known that pdf generation is limited (nightmare)

    Leave a comment:


  • rabii
    replied
    Try this instead:

    Code:
    <table border="1">
    <tbody>
    <tr style="color: #fff; background: #cccccc;">
    <th width="5%" align="left" style="text-align: center; "><b>#</b></th>
    <th width="48%" align="left" style="text-align: center;"><b>Désignation</b></th>
    <th width="15%" align="left" style="text-align: center;"><b>Nombre de participant</b></th>
    <th width="16%" align="left" style="text-align: center;"><b>P.U HT</b></th>
    <th width="16%" style="text-align: center;"><b>Montant HT</b></th>
    </tr>
    </tbody>
    </table>

    Leave a comment:


  • yberges
    started a topic PDF rendering restriction

    PDF rendering restriction

    hello i read pdf documentation its cool
    but we didn't have reference to pdf library generator ... and renedring is so strange lol (i now it a library limitation)
    exemple :
    i try to add a background in table price and text centered
    i do this code
    Code:
    tbody>
    <tr style="background:#cccccc;">
    <th width="5%" align="left" style="text-align: center; "><b>#</b></th>
    <th width="48%" align="left" style="text-align: center;"><b>Désignation</b></th>
    <th width="15%" align="left" style="text-align: center;"><b>Nombre de participant</b></th>
    
    <th width="16%" align="left" style="text-align: center;"><b>P.U HT</b></th>
    <th width="16%" style="text-align: center;"><b>Montant HT</b></th>
    </tr>​
    but background isn't rendered and texte is alway on left ...
    any recommandation ?
    thanks for you great CRM and very good support
Working...