mPDF Manual – mPDF Variables

defaultCssFile

(mPDF ≥ 7.0)

defaultCssFile – Path of custom default CSS file

Description

string defaultCssFile

Define custom default CSS file.

Values

Path to file.

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

Changelog

Version Description
7.0 Variable was added.

See Also

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