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
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... :(
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?