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     [CLOSED] Heading align with columns in HTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Heading align with columns in HTML
 Login/Join
 
Guru
posted
This all seems to be so finicky...

In the fex below, how can I get 'A' to left align with COUNTRY, 'hello' to left align with CAR, and 'GOODBYE' to left align with 'Warranty'?

  

SET ACCESSIBLE = 508
TABLE FILE CAR
ON TABLE SET HTMLCSS ON
PRINT CAR SALES MODEL WARRANTY
BY COUNTRY 
ON COUNTRY SUBHEAD
"TESTING"
HEADING
"<+0>A<+0>hello<+0>GOODBYE"
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=1,COLOR='BLUE',COLSPAN=1,POSITION=1,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=2,COLOR='RED',COLSPAN=2,POSITION=2,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=3,COLOR='GREEN',COLSPAN=2,POSITION=3,JUSTIFY=LEFT,$
ENDSTYLE
END

This message has been edited. Last edited by: Kerry,


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
TABLE FILE CAR
ON TABLE SET HTMLCSS ON
PRINT CAR SALES MODEL WARRANTY
BY COUNTRY 
ON COUNTRY SUBHEAD
"TESTING"
HEADING
"<+0>A<+0>hello<+0>GOODBYE"
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=1,COLOR='BLUE',COLSPAN=3,POSITION=COUNTRY,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=2,COLOR='RED',COLSPAN=1,POSITION=MODEL,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=3,COLOR='GREEN',COLSPAN=2,POSITION=WARRANTY,JUSTIFY=LEFT,$
ENDSTYLE
END


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Guru
posted Hide Post
Thanks.

If I change it to the following, A shows up over COUNTRY, not over CAR. Do you know why?

The reason I am asking is because I am trying to mimic all this and I'm just having a hard time!


 
TABLE FILE CAR
ON TABLE SET HTMLCSS ON
PRINT CAR SALES MODEL WARRANTY
BY COUNTRY 
ON COUNTRY SUBHEAD
"TESTING"
HEADING
"<+0>A<+0>hello<+0>GOODBYE"
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=1,COLOR='BLUE',COLSPAN=2,POSITION=CAR,JUSTIFY=LEFT,$
ENDSTYLE
END

 


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Guru
posted Hide Post
Also, does it make a difference if you have ACCESSIBLE set to 508?

Taking your sample and adding 508 to it makes it no longer work - I think that's why mine isn't working. Any suggestions?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
 
TABLE FILE CAR
ON TABLE SET HTMLCSS ON
PRINT CAR SALES MODEL WARRANTY
BY COUNTRY 
ON COUNTRY SUBHEAD
"TESTING"
HEADING
" <+0>A<+0>hello<+0>GOODBYE"
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY, JUSTIFY=LEFT,$
TYPE=HEADING, LINE=1, ITEM=2, COLOR='BLUE', COLSPAN=2,$
ENDSTYLE
END
-EXIT 


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Thanks Tom. But I see now that I have another whole issue in that when I turn 508 on, this no longer works. Any ideas?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
508 Accessibility


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
I've seen that doc - where does it say that you lose the ability to use the Position attribute in the HEADING when you turn on 508?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
you have colspan=2
which pretty much looks to me as if it would wipe out the heading over CAR.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     [CLOSED] Heading align with columns in HTML

Copyright © 1996-2020 Information Builders