css - default margin a4 print -


im creating div wich can printed.

it going printed on 1 laying a4 paper.

i use in css

width: 297mm;   height: 210mm; 

but if want print there margins on sides (by default).

now if user going print div going spread on 2 pages cause of margins.

are there default sizes margins it's printable on every printer default.

does ony know these margins user can print in on 1 page?

do have block defined display style, think cover problem. defining width , height may float element outside container. try doing this: display: inline-block; block. think work.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -