Bug fix, columns can be define on any element now

Calculation was made only on DIV elements before.
Merge pull request #939 from GProulx/BugFix932

Bug fix, columns can be define on any element now