Creating and mapping a CSS to a Crystal Report

Use this procedure to create and attach a cascading style sheet (CSS) to a Crystal Report.

  1. Locate the Crystal ViewerReport default.css file.
  2. Copy the file to the same directory and rename it.
  3. If necessary, use a text editor to add or modify CSS classes.
  4. Open the .RPT file of the Crystal Report to which you want to map the CSS classes.
  5. Add or select a text object and open the Format Editor. In the CSS Class Name field, specify the CSS Class Name, specify the class to which you want to map the text object.
  6. Save the report.
  7. Open the Reporting Services application and publish the report.