How to export html text as word document with specific size and orientation

Joined
Jun 4, 2019
Messages
1
Reaction score
0
I want to create a text generator that allow user to edit text and export it as word document based on a tutorial I found in the internet and I want to controle size and orientation of the result and this is my script I added page css and I can see the webpage as A4 and portrait but when export it it's not A4 or portrait.
So how can I modify this javascript or CSS to get the specific size as A4 and orientation as portrait of my word document .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top