QPrinter HTML table problem



  • Hello, since QT5 i have problem in printing HTML code.
    Here is the code:
    @
    <html><head><title></title><style> table { border-collapse:collapse; } table,td,th { border:1px solid grey; padding-top:5px; padding-bottom:5px; font-size:16px; font-family:Arial,Helvetica,sans-serif;} } th{color:black; width:5%;}</style></head><body><p ></p><div >Settembre 2013</div><table width='100%'><tr><th >Tipo</th><th >Ordinante</th><th >Importo</th><th >Beneficiario</th><th >Stato</th><th >Data Richiesta</th><th >Struttura</th><th >Data Effettiva</th><th >Note</th></tr><tr><th >prelevamento</th><th >marco</th><th >11</th><th >daniele</th><th >eseguito</th><th >17/09/2013</th><th >casa</th><th >17/09/2013</th><th ></th></tr><tr><th >prelevamento</th><th >marco</th><th >22</th><th >daniele</th><th >eseguito</th><th >17/09/2013</th><th >casa</th><th >17/09/2013</th><th ></th></tr></table></body></html>
    @

    Which is well renderized from the browser.

    Here is the QPrinter result.

    http://imagebin.org/271187

    Something wrong.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.