Jump to content

kesz1

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kesz1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I have a basic html report that I am exporting to xls using header content type. I can modify the margins using CSS but I can't get the xls file in landscape, it is always portrait. I have tried using size : landscape in CSS but it is ignored. Anyone accomplished this? The reason is b/c the user cant find the time to use Excel and change the page breaks manually.... The print out extends to 2 pages and landscape would fix this issue. Many thanks.
  2. Hello; I generate a basic excel report from a php page (updating the header content) and I need to dynamically add page breaks to this excel file. I tried: <DIV style="page-break-after:always"></DIV> which works fine if the output page was for the browser, but, when I change the I update the header to display as excel, the breaks do not work. Does anyone have any suggestions or examples to add page breaks to the php script that the excel file will recognize? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.