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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -