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 .
So how can I modify this javascript or CSS to get the specific size as A4 and orientation as portrait of my word document .