Converted layout to float elements