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

import css into globalReportStyles_10.css

Started by BenziD, 04 Jun 2013 04:38:13 AM

Previous topic - Next topic

BenziD

My working place prefer to restrict our developpers from accessing the server,
To create global class files the developpers have access to shared folder, where they store the myStyle.css files
the GlobalReportStyles_10.css should import our CSS using @import role

while testing the idea, i didnt succseed to import my css file, even when i copied myStyle.css to GlobalReportStyles_10.css location

cognos support @import ?


bdbits

How are you referencing myStyle.css (relative, absolute URI)? Is the @import the first statement in the file? Since it must be the first line are you sure your CSS is not getting overridden by a latter rule? How are you testing it?

Personally I use regular <link> references from another server, and these work fine. I have not used @import, but I see no reason it should not work if everything is set up correctly. Also check the rendered page source. If you use Firebug or other tools, you should also be able to see where your CSS is being pulled from in the actual page. Ultimately CSS are just source that gets sent to the browser for rendering.