Should I use pixel or cm when designing a business card online?

I have provided an interface for creating online business cards on a web page. Maps must be 8.5cm x 5.5cm.

My problem is width and height units. Should I use pixel or centimeter in css?

In the end, I want to convert it to jpg using C # drawing class

. C # drawing class

just accepts a pixel unit. Pixel changes in different resolutions. So, if I am using a pixel unit, what should be the width and height? Please tell me what to use to design online and convert to image using C #.

+3


source to share


1 answer


Convert cm values ​​to pixel values ​​and use them in your web app. Pixel is the best when it comes to web pages.



0


source







All Articles