Jump to content

PHP Excel Landscape Orientation


kesz1

Recommended Posts

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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/174593-php-excel-landscape-orientation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.