Hi,
Just want to say thank you for making Prince - the quality of the output is amazing.
In my application the user can create documents and choose from several themes to style it. Each theme has several colors.
For the onscreen preview I simply add the color as a class to the body tag and create background styles according i.e.
body.blue .doc {
background: blue;
}
But how do I do this for prices @page rule?
@media print {
body.blue @page {
background: blue;
}
}
Doesn't seem to be working.
Just want to say thank you for making Prince - the quality of the output is amazing.
In my application the user can create documents and choose from several themes to style it. Each theme has several colors.
For the onscreen preview I simply add the color as a class to the body tag and create background styles according i.e.
body.blue .doc {
background: blue;
}
But how do I do this for prices @page rule?
@media print {
body.blue @page {
background: blue;
}
}
Doesn't seem to be working.