In my case, it happen when ive a div within a div where it represent a container for a jquery tab.
Somehow, i found out that the offsetWidth return 0 if i did not tab to that tab.
Once ive tab into that tab, the offsetWidth now return the actual width rendered.
Took me some hours to solve this issue...
No comments:
Post a Comment