Gettig rid of that pesky checkbox border in cognos

This annoying border arround Cognos checkbox prompt.... Man oh man... It was in my face all these years and one gloomy evening it was enough. So a bit of digging arround the html source and problem is solved!


Getting rid of the pesky border arround a checkbox prompt is as easy as adding a new HTML item into your report and putting the following code in it:
<style>
.clsCheckBoxList {
border: none;
}
</style>


If you use this in a dashboard which contains a few reports, you should put this into all of them as otherwise, depending on the timing of each report, the others might override the above setting and th eborder will appear again.

This hack will actually remove borders arround radio button list too, as it is using the same CSS class for both items. Phew, problem solved! Now I will never have to see that *beep* border in Cognos prompts again... 

Hmmm, wonder if they have made an interface to deal with this in Cognos 10 already... 

M.

3 comments:

Anonymous said...

Nope, nothing new in C10 regarding the border. However now we are able to remove the Select All and Deselect All text. One step at a time...

CognosPaul said...

Instead of using HTML items, you could add these classes to the global report styles. This way the report authors can use the standard Classes Explorer to alter the prompt appearances.

Anonymous said...

grat! :)

Post a Comment