andyhutch77 / MvcRazorToPdf

Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult. This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
125 stars 105 forks source link

Referenced CSS with absolute path - nothing shown #7

Closed alexandis closed 10 years ago

alexandis commented 10 years ago

Hi, want to use external CSS. Referenced CSS using absolute hard-coded path: http://localhost:50207/Content/Site.css in html head. The document came out absolutely empty (on two pages). If I do not reference the css - it is displayed, but, of course, unformatted... :(

What could be wrong?