Added parsing of <style> blocks.
Fixes to CSS handling.