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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPEN] Problem solving the gap between header data and title data
Page 1 2 

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPEN] Problem solving the gap between header data and title data
 Login/Join
 
Master
posted Hide Post
For an HTML output, I usually use the HTMTABLE format and assign classes to the heading, title, data, etc.; and then just use an HTMLFORM block to use css to format the table. You'll find A TON more documentation on the web for css styling than you can find for IBI styling. See example below
  
TABLE FILE CAR 
PRINT 
COUNTRY
CAR 
MODEL
HEADING
"Heading Line 1"
"Heading Line 2"
"Heading Line 3"
"Heading Line 4"
"Heading Line 5"
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE SET STYLE *
TYPE=HEADING, CLASS=tblHead, $
TYPE=TITLE, CLASS=tblTitle, $
TYPE=DATA, CLASS=tblData, $
ENDSTYLE
END

-HTMLFORM BEGIN NOEVAL
<head>
    <style>
        table { 
            border-collapse: collapse;
            font-family: Arial, Helvetica, sans-serif; 
        }
        table tr:nth-child(even) td {
            background-color:#eee;
        }
        .tblHead {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            background-color: white !important;
        }
        .tblTitle {
            text-align: center;
            font-weight: bold;
            background-color: black !important;
            color: white;
        }
        .tblData {
            font-size: 12px;
        }
    </style>
</head>
<body>


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
  Powered by Social Strata Page 1 2  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPEN] Problem solving the gap between header data and title data

Copyright © 1996-2020 Information Builders