company form: replace style tags with css class names