changes styles to one line