Replaced style attributes with css class.