diff --git a/lib/markdown-pdf.js b/lib/markdown-pdf.js
index <HASH>..<HASH> 100644
--- a/lib/markdown-pdf.js
+++ b/lib/markdown-pdf.js
@@ -14,7 +14,13 @@ function markdownpdf (opts) {
   opts = opts || {}
   opts.phantomPath = opts.phantomPath || require("phantomjs").path
   opts.runningsPath = path.resolve(__dirname + "/..", opts.runningsPath || '') || __dirname + "/runnings.js"
+
   opts.cssPath = opts.cssPath || __dirname + "/../pdf.css"
+  var relativePath = path.resolve(process.cwd(), opts.cssPath)
+  if (fs.existsSync(relativePath)) {
+    opts.cssPath = relativePath
+  }
+
   opts.paperFormat = opts.paperFormat || "A4"
   opts.paperOrientation = opts.paperOrientation || "portrait"
   opts.paperBorder = opts.paperBorder || "1cm"
Added relative path support to opts.cssPath