remove style tag and use an inline style attribute instead