mPDF Manual – mPDF Variables

defaultCssFile

(mPDF ≥ 7.0)

defaultCssFile – Path of custom default CSS file

DescriptionPermalink

string defaultCssFile

Define custom default CSS file.

ValuesPermalink

Path to file.

Default: [mpdf root]/data/mpdf.css

ChangelogPermalink

Version Description
7.0 Variable was added.

See AlsoPermalink

  • Default stylesheet - mPDF uses a “stylesheet” for default settings of style and layout
Fork me on GitHub