How to set page width?
I am trying to increase the width of a PDF, but nothing works:
<style type="text/css"> @page { size: a4 landscape; width: 27cm; /* not working */ @frame content { top: 2cm; width: 27cm; /* not working */ margin-left: 1.5cm; /* changing these values work!! */ margin-bottom: 2cm; /* changing these values work!! */ } } </style> No matter what I try, the width of the content does not seem to increase. All my <div> , <tables> are at 100%, and decreasing the field increases the size of the table, so 100% probably works. But how to increase the width of the main container? From what I can deduce, it looks like it supports some width by default, and it does not increase, because both portrait and landscape lead to the same width content.
Does anyone have any ideas?
No one has answered this question yet.
See similar questions:
or similar: