Why doesn't RH use my CSS file when it creates a PDF?
I am new to RH. I created a CSS file that works just fine in HTML output. The CSS file uses many variables. I came to the conclusion that RH does not use the CSS as written. When I generate an HTML output and inspect the CSS file embedded in its assets folder, I find that all the variables have been replaced with their values, which is fine. There were other simplifications.
SO, I replaced my original CSS file with the one embedded in the HTML output, and then generated the PDF. In this case, most of the styling was as expected. The notable exception was lists and a few issues inside tables.
SO, (1) why can't RH use my CSS file as is and generate a PDF that agrees with the CSS?
(2) I noted that the content shown in the RH editor looks fine with all the correct styling, including the lists. SO, if RH can display my content styled correctly in its own editor, why can't it do the same when it generates a PDF?
At the very least, I would think that RH would preprocess the CSS, as it appears to do for HTML outputs, and use the processed CSS in generating the PDF.
(3) SO, what are the known issues or limitations in CSS that makes RH generate incorrect PDF?
I am creating CSS3-compliant CSS.
Thanks for your help,
Van
