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 -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -