moves inline styles to a stylesheet