If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

report studio: style css

Started by a.info, 20 Nov 2012 03:04:35 AM

Previous topic - Next topic

a.info

Hi all,

how can I apply a css style to a list report in report studio?
thank you very much

blom0344

you can use .css styles in the report design for nearly every part of the report. Check out the GlobalreportStyles.css content. you can also add your own classes there if you want these..

a.info

thank you for your response.
how I apply it to my list in the report?

Lynn

There is a "Classes" property in the Miscellaneous section of properties for various list elements like list column body or list column title. Click the ellipses next to that property to choose what you want from those defined.

bdbits

I would not modify the global stylesheets on the server, as they apply to all reports, but they do serve as a great reference for the css classes you'll find in a report. Lynn pointed out the GUI way to do CSS, but I prefer to drop an HTML item(s) on the report and define my styles there using standard markup. Even better if you want to apply it to multiple reports, set up a dummy report (aka a component library/report) containing your reusable items and use layout component references. Then if you need to apply a style change to all those reports, you just have one place to update.

blom0344

Quote from: bdbits on 27 Nov 2012 02:33:56 PM
I would not modify the global stylesheets on the server, as they apply to all reports

As a Dutch saying says: "There are many ways to Rome".

I did not mean modifying existing classes, simply add your own section of classes. For every report you can then still make the choice which classes to use.