kesz1 Posted September 17, 2009 Share Posted September 17, 2009 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 More sharing options...
Mark Baker Posted September 17, 2009 Share Posted September 17, 2009 I don't know how you're exporting to xls, but with the right tools and libraries this isn't a problem... and doesn't involve css Link to comment https://forums.phpfreaks.com/topic/174593-php-excel-landscape-orientation/#findComment-920211 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.