code

what is yr DPI? - JSFiddle

lolol 72dpi?!

html

<div id="foot" style="width: 12in">FOOT</div>
<div id="inch" style="width: 1in">INCH</div>

css

#foot {
  background-color: gray;
  color: white;
}
#inch {
  background-color: lightgray;
}

this demo preserves the compiled output and may depend on external libraries or services that are no longer available.

original jsfiddle post