Pixel resolution calculation of A4 paper [go]

Source: Internet
Author: User

A dpi (Dots Per Inch) indicator must be used when converting metric length units to screen resolution.
The default in the 96dpi,mac system for Web page printing on Windows systems is 72dpi.

A4 paper size is 210x297mm, 1 inch =25.41mm conversion, that is 8.264x11.688 inch

So, the resolution of A4 paper 96dpi is 794x1123, which is the pixel we need when we make the Web page.

Ideally, the resolution of the largest element in the Web page is 0mm when the margin is printed: 794x1123
<div style= "width:794px;height:1123px;border:1px solid #000000;" ></div>

However, the printer is not full-width printing, there will always be margins, so we have to make a page when the page must be taken into account margins.

The print margins of various browsers are set differently, ie prints the default margins of 19.05mm,

Therefore, the resolution of the maximum elements in a page page designed for IE print pages should be: 649x978
<div style= "width:649px;height:978px;border:1px solid #000000;" ></div>

Original address: http://blog.csdn.net/iscandy/article/details/2391976

Pixel resolution calculation of A4 paper [go]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.