T785 ui ff issue

Fixes #785 (rebuilt div/float structure for better cross-browser compatibility)