added a float style to add elements