removing the CSS from the wrong place