cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gorilla_8
Level 8

Is it possible to generate a html in word in landscape mode?

Hey guys, just make a search on the internet, is it possible to convert a HTML to an orientation "LANDSCAPE" to print?

 

The file is already working, I just need know about the orientation.

 

Thanks guys! 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Is it possible to generate a html in word in landscape mode?

@Gorilla_8 

Yours might be a better question for Stack Overflow.

https://stackoverflow.com/questions/138422/landscape-printing-from-html

 

Put this at the top of your HTML code.

 

<style type="text/css" media="print">
    @page { 
        size: landscape;
    }
    body { 
        writing-mode: tb-rl;
    }
</style>

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Is it possible to generate a html in word in landscape mode?

@Gorilla_8 

Yours might be a better question for Stack Overflow.

https://stackoverflow.com/questions/138422/landscape-printing-from-html

 

Put this at the top of your HTML code.

 

<style type="text/css" media="print">
    @page { 
        size: landscape;
    }
    body { 
        writing-mode: tb-rl;
    }
</style>

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Gorilla_8
Level 8

Re: Is it possible to generate a html in word in landscape mode?

@mdevaney There isn't a way to put on html tag ? 

 

Like:

 

<style orientation='landascape'>
Super User
Super User

Re: Is it possible to generate a html in word in landscape mode?

@Gorilla_8 

My guess is you would simply copy and paste the exact code I supplied to the top of your HTML (since we can't use stylesheets).

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,223)