Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] remove space (gap) above header in HTML format
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] remove space (gap) above header in HTML format
 Login/Join
 
Member
posted
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
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Try by removing any of these styling:
TYPE=REPORT,
 TOPGAP=...,
 BOTTOMGAP=...,
 LEFTGAP=...,
 RIGHTGAP=...,
 TOPMARGIN=...,
 BOTTOMMARGIN=...,
 LEFTMARGIN=...,
 RIGHTMARGIN=...,
$


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2234 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
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

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2234 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Expert
posted Hide Post
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

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2234 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] remove space (gap) above header in HTML format

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.