A Command use for web Forms A4 Format

Asked By 0 points N/A Posted on -
qa-featured

Hello everyone! I am a newbie to HTML. I just wanted to ask what the command use for web forms A4 format is. I need this for printing. Thank you!

SHARE
Answered By 0 points N/A #158939

A Command use for web Forms A4 Format

qa-featured

Hi,

You can print A4 size by creating section within each page and by adjusting margins, height and width. After that you need to keep your contents in div. Firstly, use this code to create section:-

@page Section1 {

size:8.27in 11.69in;

margin:.5in .5in .5in .5in;

mso-header-margin:.5in;

mso-footer-margin:.5in;

mso-paper-source:0;

}

div.Section1 {

page:Section1;

}

Now create div and place your content within it like this

<div class=Section1>

***type your content here***

</div>

 

Regards,

Laz Zebbena

Login/Register to Answer

Related Questions