|
Rank: Newbie Groups: Member
Joined: 9/11/2012 Posts: 2
|
Hi,
I recently started experimenting with EO PDF and it has worked quite well so far. Our application is using relative css files to specify the styles for the html. After changing the css in the relative files (.css in a relative folder /css), EO does not honor the changes. The HTML changes are visible in the application however the PDF does not reflect the changes made to css files. How can I get EO to pick up the css changes? I tried to specify baseurl but it does not seem to work or i may be doing something wrong. When I do the changes inline, they do work but the changes in css files do not reflect.
Application Structure:
/MyApp
CSS files:
/MyApp/scripts/custom.css
Please assist me with the syntax.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
If you use ConvertUrl, then it should pick up automatically. If you use ConvertHtml, then you must set HtmlToPdf.Options.BaseUrl correctly. Also in either case, you will want to verify your page with Google Chrome to see if it works correctly in that browser. Our rendering is most close to Google Chrome.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 9/11/2012 Posts: 2
|
Can you please guide me to the correct syntax for my case above to use the css files?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
You have to understand and follow what we tell you first. We told you to check A, B and C, you can't just keep asking us to guide you on X. You do what we tell you to do first. If you have any question on what we tell you, ask and we will try to explain further. In short, we will help you understand how to use the product but we won't do your job for you. So you must understand and follow us first.
|
|