Avoir un pdf stylisé #3135
Replies: 2 comments 11 replies
-
You add CSS to the document the same way you would with any web page. Inline:
External:
|
Beta Was this translation helpful? Give feedback.
-
I'm having trouble with this too. in PHP, I'm just loading a simple HTML file:
Where $filename is created using In the HTML itself, I'm pulling in the CSS with the following:
The CSS file is in the same folder as the HTML file referenced in PHP. The resulting PDF I get has no styling whatsoever. (And all images are missing too even though they're currently referenced through full URLs such as: |
Beta Was this translation helpful? Give feedback.
-
Bonjour,
je voudrais savoir comment rajouté un fichier css avec dompdf pour avoir un pdf stylisé comment faire s'il vous plait?
Beta Was this translation helpful? Give feedback.
All reactions