html - Dynamic PDF style problem in php? -


when create dynamic pdf (html pdf) inline css not working text padding or text margin.

am not sure tcpdf converting html pdf. generating pdf using commands. drawing pdf. styles not effective there.

try http://www.digitaljunkies.ca/dompdf/examples.php#demo

its easy , taking inline style

<html> <head> <style>  /* type style rules here */  </style> </head>  <body> <table><tr><td style='background-color:red'>asdasdasdasd</td></tr></table>   </body> </html> 

Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -