python - PyFpdf without borders -


i using pyfpdf generate pdfs. want simple table, without lines. using code:

    html = """ <table border="0"> <thead border="0"><tr align="left" border="0"><th width="60%" align="left" border="0">header 1</th><th width="40%" align="right">header 2</th></tr></thead> <tbody border="0"> <tr border="0"><td align="left" border="0">cell 1</td><td align="left" border="0">cell 2</td></tr> <tr><td align="left">cell 2</td><td align="left">alsjdf asdcell 3</td></tr> <tr><td align="left">cell 1</td><td align="right">csdfsdfsdfsdell 2</td></tr> <tr><td align="left">cell 2</td><td align="right">cell 3</td></tr> </tbody> </table> """ 

and generating pdf using pdf.write_html(html) . works. not able rid of 2 lines in start , end.

![enter image description here][1]

i need table, without borders or anything. plain text. can tell me how it's done?


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -