pyrsmk / W

Responsive viewport management tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad unit value under IE6/7

pyrsmk opened this issue · comments

Internet Explorer 6 and 7 can't guess the unit value at the core of the em computing of W. This comes from a bad offsetWidth value returned by the browser. It seems the created span is not initiliazed properly.

Therefore, this unit value is fixed to 16 while this bug is not fixed.

The DOM must be ready before guessing the em unit (as it creates an element). Informations will be added to the documentation ;)