added inline_css() helper

fixed some typo and pep8 invalidation in helper