putting CSS changes in the right place