ok, I see.
First of all, <style> should not be added into <body></body>, it should be inside <head></head>. Even though most browsers ignore such rules and don't ignore <style> inside <body> but this might be changed as it's against the standards. (
discussion regarding this)
Secondly, in your particular case you can remove any newlines from that text, as long as you have ";" it can all be in one line.