Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将自定义 CSS 应用于使用 Jasper 生成的 HTML 报告。我需要将此报告作为 iFrame 包含到 GWT 窗口中。
您可以简单地在 GWT html 文件中包含一个链接标记,如下所示:
<link type="text/css" rel="stylesheet" href="myJasperStyles.css">
CSS 文件应明确引用 Jasper 相关的 HTML 标记,以确保 CSS 不会影响您的 GWT 元素。