Looks like you found the problem :) I tested this without spaces, and indeed the browser (FF) goes mad. It first froze for a minute or so before totally crashing.
It appears that if there are no spaces at all (even inside the divs) then something goes pretty badly wrong in Gecko. -- Suni