Usage of CSS3 @media print Rule in RAP [message #1776624] |
Sat, 18 November 2017 20:45 |
|
We know how to use CSS for customizing RAP applications introducing a special CSS file, but also know that this CSS file is specific for RAP and you cannot put into it what you would put into a standard JEE CSS3 file.
For example you cannot use the CSS3 '@media print' Rule
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
We would like to set some customization when the user does Ctrl-P to print the page, e.g. scaling to 50% all the page content.
In a standard JEE approach you could use a CSS3 '@media print' Rule to perform this.
In RAP how could we link a standard JEE CSS file to the HTML application page or alternatively how can we set attributes for the '@media print' output?
Thank you very much
Vincenzo
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03559 seconds