Crazy problem. By removing CSS float the JS doesn't work.
The title is wrong and I can't edit it: It should read: "By ADDING CSS float":
This should return the height of the content:
...but it doesn't work. If I remove the float:left from the boxes then it works:
http://page-test.co.uk/no-float.html (this works)
The only difference in the two is that the boxes in the working one do not have float:left.
Why? This is crazy. What can do I do about it?
Thanks for looking at my examples.