On 2014-08-04 00:28 (GMT-0500) Karl DeSaulniers composed:

Can you use "in" for inches in css...?

It's valid, but it may not mean what you think it means. For screen media it can only mean a physical inch in old IE and Gecko browsers, and in all Konqueror browsers configured to use the KHTML rendering engine, and then only if the physical display density is matched to the desktop's assumed pixel density. There is also an equivalent to an inch available in Gecko browsers that no longer support a physical in unit, the mozmm unit, where 1in is equivalent to 25.4mozmm. http://fm.no-ip.com/Auth/dpi-screen-window.html and http://fm.no-ip.com/Auth/dpi-screen-sample.html are a couple of many pages on my site that put the mozmm unit to work.

If per happenstance the user's display has a physical pixel density of 96 DPI, and the desktop's assumed pixel density remains at the 96 setting that is the usual default, then a CSS logical in will measure one physical inch on the display screen.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to