Jump to content
We've recently updated our Privacy Statement, available here ×

How to remove dummy-div from HTML export / Influence HTML porperties


gert_1

Recommended Posts

Hi guys,

Goal

I am having a problem. I have a main report with some subreports. When I export it to PDF or Word or so, everything works fine! But when I export to HTML, something goes wrong:

In the main report, every subreport is captured in a 'main' div that consists every time out of 2 divs, from which the first one is an empty dummy. This empty dummy (code below) is the reason that Outlook (and Gmail as well) will show like 5 line breaks between the subreports. And thus makes it not useable for emailing..

Question 1:

Is there a parameter (or other facility) that can disable this dummy DIV? When I manually remove the div it works like a charm!

Question 2:

Is there a way to influence the div porperties? E.g. Sometimes this dummy div  starts with <div style="position: absolute; overflow: hidden; width: 100%; height: 100%; "> and sometimes with other properties.. If I could give it some specific info like a.e. add a class 'class=ReadyToBeRemoved' then I could filter it out by script (not most beautifull option but could work)

Thanks in advance!

 

 

Regards,
Gert

PS: Div code:
<div style="position: absolute; overflow: hidden; width: 100%; height: 100%; ">
<table cellpadding="0" cellspacing="0" border="0" style="empty-cells: show; width: 100%; border-collapse: collapse;">
<tr valign="top" style="height:0">
<td style="width:550px"></td>
</tr>
<tr valign="top" style="height:52px"> 
<td style="pointer-events: auto; ">
</td>
</tr>
</table>
</div>

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...