HTMLtoSVG conversion: handle styles a bit more specifically.
This filters out styles and asigns color and align to the correct values.