add css to format data and keep content in the correct place