You may be able to solve it yourself using your browsers dev tools.
“float” removes an element from the document flow. So any CSS styles that had been previously applied to it - inherited in the cascade - will need to be applied to it in the new “float” rule.
It might not solve everything, but then again it just might.