How does one apply custom CSS to a HTML report generated using Jasper. I need to include this report as an iFrame into a GWT window.
A:
You can simply include a link tag in your GWT html file like so:
<link type="text/css" rel="stylesheet" href="myJasperStyles.css">
The CSS file should explicitly refer to Jasper-related HTML tags to ensure the CSS won't affect your GWT elements.
AFAIK, the iFrame loads asynchronously. Will the styles get reflected in the iframe if the link tag is present in the parent file?
Vaishak Suresh
2010-06-19 17:21:10
Yes, there should be no issue there.
2010-06-30 17:43:32