COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: tkjenkin on 18 Jun 2015 02:17:39 PM

Title: How can I remove the border around a single checkbox prompt
Post by: tkjenkin on 18 Jun 2015 02:17:39 PM
I have tried the below to remove the border around a single checkbox prompt however it is not working. 

<STYLE>
#PromptName Div.clsCheckBoxList{
border-style:none;
}
< /STYLE>


I can use this for the entire page which has several prompts and it works however, i just want the one.

<STYLE>
Div.clsCheckBoxList{
border-style:none;
}
< /STYLE>
Title: Re: How can I remove the border around a single checkbox prompt
Post by: qvixote on 18 Jun 2015 03:13:42 PM
You should use this code instead:

<STYLE>
Div#PromptName.clsCheckBoxList {
border-style:none;
}
< /STYLE>

The explanation: if you use "#PromptName Div.clsCheckBoxList", you are trying to point a div with class clsCheckBoxList inside an element with id PromptName. In the code above you are pointing to a div with id PromptName and class clsCheckBoxList.