Forum Moderators: not2easy

Message Too Old, No Replies

Change the page margin dynamically

         

nuts_spices

6:59 pm on May 28, 2003 (gmt 0)

10+ Year Member



Hi,

I need help on how to set the page margin.

I have a form which people can fill out and they have two options:

1. Print the form - I display the form in the right format as required and they can press the print option of the browser to print it.

2. Email the form - I create a word document dynamically and send it as an attachement.

The problem that i am facing is the margins. I have to physically go to the page setup and change the margins there.

I need to know if i can dynamically change the page setup margins for the browser and the word document.

I did come accross @media @page and tried it but it doesnt work. I am not sure if i am using it correctly.

Any help will be appreciated.

Thank You.

Nick_W

7:31 pm on May 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, I'm not sure I follow. But I have a question for you.....

Where is option 3 (the best one) submit the form!?

;-)

Nick

nuts_spices

9:02 pm on May 28, 2003 (gmt 0)

10+ Year Member



Yes after they submit the form i take all the information that they have keyed and display it .. I want them to print this page

I want it to print with page margin set to 0.6 .. that is i have to go to IE's Page setup and change the margins.

Thanks