Home
Analytics
Frame Borders in embedded BIRT viewer
Charanya Rajagopalan
<p>I just can't seem to get the borders off the BIRT viewer embedded in my JSP page. Here is the code I'm using:</p>
<pre class="_prettyXprint _lang-html">
<birt:viewer id="birtViewer" reportDesign="test.rptdesign" pattern="frameset" height="800" width="775" isHostPage="false" frameborder="0" scrolling="auto" style="border-radius:25px; border:3px solid silver" format="html"></birt:viewer> </pre>
<p>And here is what I get in my browser (tried both Chrome & IE). The black border line is appearing only on the top (below the BIRT toolbar) and the left. The base of my web app is the WebViewerExample from the 4.4.1 runtime, and I've made some minor changes (mainly CSS-related) to the webpage.</p>
<p> </p>
<p> </p>
Find more posts tagged with
Comments
mwilliams
<p>If you want to get rid of that border, one thing you could do is go into the css file for the viewer (pathToViewer/birt/webcontent/birt/styles/style.css) and find the BIRT Document section:</p>
<p> </p>
<div>/******************************************************************************</div>
<div> * Birt document.</div>
<div> *****************************************************************************/</div>
<div> </div>
<div>Here you can change the color of the inner document border, which is the dark color you're seeing. You'll notice the top and left are different than the right and bottom.</div>
<div> </div>
<div>Hope this helps.</div>
Charanya Rajagopalan
<p>Thanks for pointing out that css file to me! I was able to make the necessary changes.</p>
mwilliams
<p>Excellent. Glad I could help! Let us know whenever you have questions!
</p>