support setting of style as string
Merge pull request #10 from mmckegg/master

support setting of style as string