1 reply [Last post]
john kabbi
john kabbi's picture
Offline
newbie
Last seen: 3 years 13 weeks ago
Timezone: GMT+3
Joined: 2014-05-19
Posts: 7
Points: 12

suppose i am developing a web site and i am viewing this web site from 2 PC computers both has screen with 1980x1080 physical pixels , 1980x1080 css pixels ( pixel ratio = 1) but one PC has a screen with physical size of 16 inches while the other is 60 inches (demo screen ,people stand 2 feet away to watch the web site) . obviously the 60 inches screen should have a much smaller font size. How is this handled in CSS ? is there any way i can target a devise by PHYSICAL screen size ?

what is in my mind ? i think that the CSS pixel width should be calculated by a combination of:

  1. the physical size of the screen (how many inches in width)
  2. the "normal" viewing distance of that screen ( projector that people view from many feet away VS laptop screen viewed from few inches)
  3. the vision of the person

that info could by reported from the OS to the browser. now ,because CSS committee folks are smart people i think i am probably wrong. the question is why i am wrong?

john kabbi
john kabbi's picture
Offline
newbie
Last seen: 3 years 13 weeks ago
Timezone: GMT+3
Joined: 2014-05-19
Posts: 7
Points: 12

this is perhaps not a

this is perhaps not a beginner question