ruby on rails - wicked pdf side issue -
i'm exporting table using wicked pdf
here controller use wicked
def print_invoice respond_to |format| format.pdf{ send_data render( ####### wicked code ###### :pdf => "invoices", :margin => {:top=> 0,:bottom => 0,:left=> 0,:right => 0}, :orientation => "landscape", :print_media_type => true,:disable_smart_shrinking => true) ) ####### end wicked code ###### } end end here print view
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> </head> <body> <table border="1" align="left"> </table> </body> </html> here pdf i'm getting

i want on left side not working

i tried , nothing:
:margin => {:top=> 0,:bottom => 0,:left=> -10,:right => 0}, please can me?
yes tha'ts position margin left, try code:
:margin => {:top=> 0,:bottom => 0,:left=> 0.1,:right => 0}, as arieljuod said must that.
Comments
Post a Comment