support setting of style as string