Made sure all styles were placed in css-document.