remove underline for label when hyperlink is added

When label is hyperlinked to internal bookmark to drill through, it creates an underline in the label content. 

How to remove the underline from the label element when hyperlink is added


  • One method is to use a HTML Report Item and change the link styles for all hyperlink tags:

    <SCRIPT language='JavaScript'>
    var hyperlinks = document.getElementsByTagName('A');
    for (var i = 0; i < hyperlinks.length; i++) {
    var hyperlink = hyperlinks[i];
    var hyperlinkParent = hyperlink.parentNode;
    var parentStyle;
    if (window.getComputedStyle) {
    parentStyle = window.getComputedStyle(hyperlinkParent,null);
    } else {
    parentStyle = hyperlinkParent.currentStyle;
    } = parentStyle.color; = parentStyle.textDecoration;

    It can be customized to target specific links.

    Clement Wong
    Principal Analytics Architect

    OpenText Corporation |

Sign In or Register to comment.