Please see the attached HTML file. The generated PDF shows the logo on the left while the HTML shows it on the right. Suggestions?
Forum › How do I...?
display: flex; justify-content: right doesn't seem to work
In your code, you write "justify-content: right". Personally, I like intuitive values like "left" and "right", but they are not part of the specification:
https://www.w3.org/TR/css-flexbox-1/#justify-content-property
Prince follows the specification, as documented here:
https://www.princexml.com/doc/css-props/#prop-justify-content
The solution is to use this code:
https://www.w3.org/TR/css-flexbox-1/#justify-content-property
Prince follows the specification, as documented here:
https://www.princexml.com/doc/css-props/#prop-justify-content
The solution is to use this code:
justify-content: flex-end
Edited by howcome