While generating report as html in jasper,backgrou nd image appears in <span> instead of <body> background tag.The requirement is to get the text 'COPY' as across the page..can anyone share me the idea...
Generated html source:
<span style="position :absolute;left: 20px;top:30px;w idth:555px;heig ht:782px;text-align: center; vertical-align: middle;"><span style="font-family: Helvetica; color: #C0C0C0; font-size: 90px; font-weight: bold;"><br/>SAMPLE<br/></span></span>
Code:
<background> <band height="782"> <staticText> <reportElement style="backgroundStyle" mode="Transparent" x="0" y="0" width="555" height="782"/> <textElement rotation="Left"/> <text><![CDATA[ SAMPLE ]]></text> </staticText> </band> </background>
<span style="position :absolute;left: 20px;top:30px;w idth:555px;heig ht:782px;text-align: center; vertical-align: middle;"><span style="font-family: Helvetica; color: #C0C0C0; font-size: 90px; font-weight: bold;"><br/>SAMPLE<br/></span></span>