For margin-left set in in (inches), offsetLeft is exact px (=100×in);
For margin-left set in px (or blank), offsetLeft has additional px container-padding;
(The offsetParent container is the same.)
In summary: Margin inches overrides offsetParent padding.