We are using a background image on some pages in the footer area. The footer text (with the page numbers) sits on top of the background images.
But the text is near invisible on the pages with background images. Is there a way to add a text background colour to have it stand out?
I tried defining a new named page to change the font colour like so:
but while it does change the font colour, it does not inherit any of the previously defined footer styles of @bottom-right, and it inserts a page break for the element with the class "my-trigger-class".
Another thing I tried is the experimental CSS of text-stroke, but that's not yet supported by PrinceXML.
"text-shadow" only yields unsatisfactory results.
Thank you for your help!
But the text is near invisible on the pages with background images. Is there a way to add a text background colour to have it stand out?
I tried defining a new named page to change the font colour like so:
.my-trigger-class {
page: whiteFont;
}
@page whiteFont:right {
@bottom-right {
color: #fff;
}
}
but while it does change the font colour, it does not inherit any of the previously defined footer styles of @bottom-right, and it inserts a page break for the element with the class "my-trigger-class".
Another thing I tried is the experimental CSS of text-stroke, but that's not yet supported by PrinceXML.
"text-shadow" only yields unsatisfactory results.
Thank you for your help!