Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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, 2017Report 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.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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, 2005Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2017Report 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.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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, 2017Report 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.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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, 2017Report 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, 2005Report 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, 2017Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders