By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,501 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,501 IT Pros & Developers. It's quick & easy.

Specifying dimensions in inches

KeredDrahcir
100+
P: 426
I'm displaying a popup and I'm defining the dimensions of it, but I need to size to be a set number of inches. In my screen resolution the popup is over 11 inches wide; in a higher one it is just under 9.

Is there a way to specify the size of something to be a set size regardless of screen resolution? It doesn't have to be inches if I can do it in cm or any other scale as long as it appears the same size whatever the resolution?
Oct 3 '12 #1
Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,430
CSS allows for in and cm but those are only accurate for printing and not recommended for screen display. You could try using percentages but those are by the browser window size and not the screen size.

Frankly it's difficult to get the same size on every screen because to do so would require that you know the dimensions of the monitor in addition to the resolution so you can do the math on pixel size.
Oct 3 '12 #2

KeredDrahcir
100+
P: 426
I thought that was the case but I thought I could at least ask. Thanks for confirming this for me.
Oct 11 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.