Focal Point
Remove underline in a Column Title (HTML report)

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1981087331

July 08, 2004, 11:00 PM
<Pietro De Santis>
Remove underline in a Column Title (HTML report)
As Susannah has mentioned, it is very annoying that WebFOCUS GRID is tied to other style sheet entries.

To turn off the underline in a column title, I add this CSS:
u {text-decoration: none; }

July 09, 2004, 02:22 AM
susannah
Pietro, i've discovered an even sneakier trick for removing column header underlines...Get this:
PRINT CAR AS 'my,car,'
See that final comma? That's all it takes to nuke the underline. And it doesn't give you an extra blank line, the way it would in mainframe.
Sneaky!
July 09, 2004, 01:19 PM
jmdoyl1
Why doesn't STYLE=-UNDERLINE, work?
July 09, 2004, 01:55 PM
<Pietro De Santis>
Wow, AS 'my,car,' - that's cool!
July 09, 2004, 03:53 PM
susannah
jimdoyl1, i remember trying style=-underline, and it only applies if set htmlcss = on is set, which of course whacks out all your fex-specific style sheet coding
July 09, 2004, 07:06 PM
suzy_smith
Hi Pietro

You seem to have delved into what IBI uses for css. Do you have any recommendations on where to find this out? I have noticed that there are a number of .css files out there, but haven't looked that closely to know where each one is used.

Perhaps IBI has some documentation? Or did you figure this out on your own?

Thanks. Suzy
July 11, 2004, 05:57 AM
Piipster
In WebFOCUS Developer Studio there is an option available to turn the column-title underlines off.

Right-click on the column you want to change, or multi-select columns, and choose Fonts from the pop-up menu.

There is a check box for Disable Underline.

This translates to WebFOCUS stylesheet code:

TYPE=TITLE,
COLUMN=N1,
FONT='TIMES NEW ROMAN',
STYLE=-UNDERLINE,
$

I tested it with both HTML and PDF reports.

Hope this helps.
July 12, 2004, 02:01 PM
<Pietro De Santis>
K. Piipo,

According to Susannah, the -UNDERLINE only works if SET HTMLCSS = ON, which, in some cases, is not desirable.

By the way, how's Australia? I imagine you've settled in?

Cheers,

Pietro.
July 12, 2004, 02:04 PM
<Pietro De Santis>
Suzy,

As far as I can tell, there isn't any WebFOCUS CSS file that can be tweeked behind the scenes.

If you don't turn HTMLCSS ON, there isn't any CSS applied to an HTML report, just normal HTML styling, e.g.
<U>
This U tag is what causes the underline and the CSS styling I apply
u {text-decoration: none; }
removes the underline.

Regards,

Pietro.
July 12, 2004, 03:28 PM
suzy_smith
Thanks, Pietro. I do see a bunch of .css files in one of our install directories (focus files, apache, tomcat (servlet) all on unix). We use Windows only for Power Reporter.

I will try to figure out which .css files are used when HTMLCSS ON is set.

I would prefer to do our 'institutional' styling all in one place, rather than on a report by report basis.

Suzy