moving style attrs to css