I need to put in my site div which is exactly 25cm width ( 10 inch) in every display. How I can do it ?
See Question&Answers more detail:osI need to put in my site div which is exactly 25cm width ( 10 inch) in every display. How I can do it ?
See Question&Answers more detail:osYou can simply use the cm
unit in CSS:
#mydiv { width: 25cm; }
Note that, as others pointed out, the result still depends on the correct reading of the monitor size by the operating system.
See the spec for more information.