Specifying dimensions in inches

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeredDrahcir
    Contributor
    • Nov 2009
    • 426

    Specifying dimensions in inches

    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?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    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.

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #3
      I thought that was the case but I thought I could at least ask. Thanks for confirming this for me.

      Comment

      Working...