COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: cygnex on 22 May 2007 07:14:40 PM

Title: Removing Underline from Hyperlinks
Post by: cygnex on 22 May 2007 07:14:40 PM
Does anyone know how to remove the default format of underline from hyperlinks in Report Studio?  I found out how to do this for drill down reports by editing the appropriate CSS file but could not find a way to do this for standard hyperlinks. 
Title: Re: Removing Underline from Hyperlinks
Post by: COGNOiSe administrator on 23 May 2007 06:09:48 PM
Which "standard hyperlinks" do you have in mind?
Title: Re: Removing Underline from Hyperlinks
Post by: cygnex on 24 May 2007 08:50:56 AM
Sorry for my lack of clarity. By standard, I meant to say hyperlinks to other web sites or files that are not a COGNOS report.  I realize now that by editing the GlobalReportStyles.css, it did remove the underline from the "hyperlink" objects but not from links that were created using the "HTML Item" object. Since I want each link to open up in a seperate window and the "hyperlink" object does not have a property to open in a new window (having the user right click -- open new window is not an option either), I am using the "HTML Item" object with the <a target="_blank" html code to achieve this.  However there does not appear to be a way to remove the underline from links created with the "HTML Item" object. 

So I am left with either the option of keeping the underlines but allowing the link to open in a seperate window or removing the underline but opening the link in the same window.  Either way the required spec of the report will be compromised.   

Title: Re: Removing Underline from Hyperlinks
Post by: COGNOiSe administrator on 24 May 2007 08:59:31 AM
Reference the same CSS class in your manually constructed HTML Items.
Title: Re: Removing Underline from Hyperlinks
Post by: cygnex on 01 Jun 2007 05:16:20 PM
Thanks that did the trick.