Focal Point
[SOLVED] remove space (gap) above header in HTML format

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9977087586

March 09, 2017, 11:36 AM
osantamaria
[SOLVED] remove space (gap) above header in HTML format
Hello
I'd like to know how to remove the gap or space between a report in HTML format and the upper border of the panel where it is showed. The panel is inside a page of one portal whith another else which is used to define the parameters that will be sending to that output FEX file in HTML format
Thank you!
Oscar

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.105
March 09, 2017, 11:57 AM
MartinY
Try by removing any of these styling:
TYPE=REPORT,
 TOPGAP=...,
 BOTTOMGAP=...,
 LEFTGAP=...,
 RIGHTGAP=...,
 TOPMARGIN=...,
 BOTTOMMARGIN=...,
 LEFTMARGIN=...,
 RIGHTMARGIN=...,
$



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
March 09, 2017, 12:24 PM
Francis Mariani
SET PAGE=NOPAGE or SET PAGE=NOLEAD usually removes two blank lines that are included in a report by default.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2017, 03:46 PM
Waz
Another SET command that may (but probably won't) help is DROPBLNKLINE


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

March 10, 2017, 11:49 AM
osantamaria
Thank you for your answers, but any of your good proposal has worked for my report.
WIth TOPMARGIN=0.0I the gap reduced a little bit but nothing else.


WF 8.105
March 10, 2017, 01:22 PM
MartinY
And if you try something like this:
TABLE FILE ABC
<Your code here to produce the report>
ON TABLE HOLD AS H001 FORMAT HTMTABLE
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<html>
<head>
<style type="text/css">
body
{
   margin: 0px;
}
</style>
</head>
<body>
   !IBI.FIL.H001;
</body>
</html>
-HTMLFORM END



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
March 12, 2017, 04:34 PM
Waz
Can you reproduce with one of the sample files and highlight the blank area ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

March 14, 2017, 04:16 AM
osantamaria
Hello
Thanks for your answers.
I haven't tested MatinY idea in the way he said, but I think that this margin value =0 I did with the configuration of the portal. I set up the Top margin as 0px for the panel to show the report and It didn't work.
I don't know how to send images in this forum to show the gap, but it is curious that the gap appears in HTML format and doesn't appear in ATHML format.
Thank you
Oscar


WF 8.105
March 14, 2017, 08:23 AM
MartinY
To post an image go to FAQ section (see hyperlink under Forum Guidelines at top of the page) and search for "Post an image".


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
March 15, 2017, 02:46 AM
osantamaria
I put the images in the URL below.
As you can see, one of them is in HTML exit format with the gap between the header an the tabs area and the other is in AHTML exit format with a circle mark to identify the tabs area and without the gap
Thank you
Oscar







WF 8.105
March 15, 2017, 09:37 AM
Francis Mariani
Have you tried SET PAGE=NOPAGE or SET PAGE=NOLEAD?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 16, 2017, 11:48 AM
osantamaria
Hello Francis
Yes it works !!

Sorry for that. I tried SET PAGE=NOPAGE at the begging of the report and out side TABEL FILE but it didn't work and today I have just tried to put this sentence inside TABLE FILE (ON TABLE SET PAGE-NUM NOPAGE) an it works...

Thank you all ! and sorry not try before!

Oscar


WF 8.105