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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -