I've created value prompt in a Cognos Analytics report which by default has a border around it ... How do I remove the border?
There doesn't seem to be any option in the value prompt properties which I can amend, so I thought using html?
Can someone advise how best to achieve it?
locate this file:
installpath\cognos\webcontent\prompting\reportskin\prompting\promptCommon.css
Open the promptCommon.css file and locate the prompt you want you edit and change the border settings to none.
/* selectValue control: Radio Button, Check Box Styles */
.clsCheckBoxList, .clsRadioGroupList
{
overflow: auto;
border: 2px inset ThreeDHighlight;
-moz-border-right-colors: ThreeDLightShadow ThreeDHighlight;
-moz-border-bottom-colors: ThreeDLightShadow ThreeDHighlight;
border-right-color: ThreeDLightShadow;
border-bottom-color: ThreeDLightShadow;
padding-left:5px;
padding-right:10px;
padding-bottom:2px;
best regards,
Oscar
Or you can Place an HTML item next to the prompt with following code:
<style>
.clsCheckBoxList {
border: none;
}
</style>
***Make sure that you have set "Run with full interactivity" to No.***
I don't have access to the installpath\cognos\webcontent\prompting\reportskin\prompting\promptCommon.css file, so html is my preferred option, however,
<style>
.clsCheckBoxList {
border: none;
}
</style>
Does not work. In Cognos Analytics maybe .clsCheckBoxList is something else?
Hey,
It depends on what value prompt you are using.
In this case I used a radiobutton prompt
It is probably a different syntax if you have a listbox prompt.
Anyone know the correct style syntax for listbox prompt ?
best regards,
Oscar