I have been searching all over and cannot find a solution. How do you remove an underline from a drill-down in the report styling? My HTMLCSS is ON. I have tried setting Style = NORMAL and Style = -UNDERLINE.
Any other suggestions?
Thanks in advance!This message has been edited. Last edited by: krhapner,
WebFOCUS 8 Windows, All Outputs
May 31, 2016, 12:43 PM
Francis Mariani
The quick, cheating way to do it is to include some CSS in your code:
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, FONT='ARIAL',
SIZE=9, BORDER=1, BORDER-COLOR=SILVER,
$
TYPE=DATA, COLUMN=SALES, URL=HTTP://WWW.INFORMATIONBUILDERS.COM/, TARGET=_NEW, $
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<STYLE>
A { text-decoration: none; }
</STYLE>
-HTMLFORM END
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
May 31, 2016, 12:51 PM
krhapner
Thank you! That worked.
WebFOCUS 8 Windows, All Outputs
May 31, 2016, 01:05 PM
GavinL
quote:
The quick, cheating way to do it is to include some CSS in your code
Code? What is that?
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
June 01, 2016, 08:57 AM
J.L. Hinds
Another way, TABLE FILE CAR "drill format" SUM DEALER_COST/D10.2!e RETAIL_COST/D10.2!e SALES/D12.2!e BY COUNTRY BY CAR BY MODEL ON TABLE SET ONLINE-FMT HTML ON TABLE SET PAGE OFF ON TABLE SET STYLE * TYPE=DATA,COLUMN=MODEL,FONT='ARIAL',STYLE=-UNDERLINE, COLOR='RED',FOCEXEC=CARDRLL2(VAR=MODEL),TARGET='_blank',$ TYPE=DATA, BACKCOLOR=('WHITE' RGB(210 210 210)),$ alternate background TYPE=HEADING, IMAGE=carlogo.gif,$ TYPE=HEADING, OBJECT=TEXT, STYLE=BOLD, SIZE=24,$ ENDSTYLE END
WebFOCUS 7.6 Windows, All Outputs
June 01, 2016, 09:31 AM
Francis Mariani
J.L., that is the correct way! When krhapner mentioned -UNDERLINE didn't work, I didn't verify before suggesting the workaround. Thanks.
June 02, 2016, 10:04 AM
J.L. Hinds
Francis, no thanks required as I think I learned how to do it from one of your posts years ago