Closed ghost closed 9 years ago
This is, unfortunately, a limitation of the CSS that is currently supported in mPDF. This particular styling relies on the use of a pseudo selector h3:first-child
which isn't supported in mPDF.
Thanks Brad,
Do you happen to know if this is supported in PRINCE?
Cheers, Steve
On Jul 13, 2015, at 12:46 PM, Brad notifications@github.com wrote:
This is, unfortunately, a limitation of the CSS that is currently supported in mPDF. This particular styling relies on the use of a pseudo selector h3:first-child which isn't supported in mPDF.
http://mpdf1.com/manual/index.php?tid=34 http://mpdf1.com/manual/index.php?tid=34 — Reply to this email directly or view it on GitHub https://github.com/BCcampus/pressbooks-textbook/issues/29#issuecomment-121020201.
yes, it is supported: http://www.princexml.com/doc/selectors/
div class="bcc-box bcc-success" div class="bcc-box bcc-info"
Aforementioned code is displayed correctly in webpage output and ePUB export
However, mPDF output looses CSS in Title
Is this a limitation of mPDF that will display correctly using PRINCE?
Thanks, Steve