COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: inu on 15 Nov 2016 05:18:33 AM

Title: How to make the page alignment centered for all browser
Post by: inu on 15 Nov 2016 05:18:33 AM
Hi Team,
I used center aligned at page of the report in IE, it works fine, but at mozilla, it's not center aligned.

I think, a js code needs to be inserted into the report page for other browser.
I wanted to know the steps where i need to put js code, and what is the code?

Please suggest your ideas. I appreciate your response.


Regards,
Inam
Title: Re: How to make the page alignment centered for all browser
Post by: MFGF on 15 Nov 2016 05:44:02 AM
Quote from: inu on 15 Nov 2016 05:18:33 AM
Hi Team,
I used center aligned at page of the report in IE, it works fine, but at mozilla, it's not center aligned.

I think, a js code needs to be inserted into the report page for other browser.
I wanted to know the steps where i need to put js code, and what is the code?

Please suggest your ideas. I appreciate your response.


Regards,
Inam

Step away from the javascript! Why oh why would you want to use javascript to do something as basic as alignment to the centre?

Here are some simple steps for you to try.

1. Select the Page Body
2. Use the "Center" alignment button on the toolbar
3. Run the report

This is the most basic of basic principles in report authoring. I'd suggest you invest in some training to understand the basics, Inu.

MF.
Title: Re: How to make the page alignment centered for all browser
Post by: inu on 15 Nov 2016 11:32:16 PM
Quote from: MFGF on 15 Nov 2016 05:44:02 AM
Step away from the javascript! Why oh why would you want to use javascript to do something as basic as alignment to the centre?

Here are some simple steps for you to try.

1. Select the Page Body
2. Use the "Center" alignment button on the toolbar
3. Run the report

This is the most basic of basic principles in report authoring. I'd suggest you invest in some training to understand the basics, Inu.

MF.

Thanks a lot MF. it resolved ..
It was pretty simple, but I did not think on that perspective..
Sorry..


Regards,
Inam


Title: Re: How to make the page alignment centered for all browser
Post by: Invisi on 16 Nov 2016 08:12:11 AM
Cognos offers various functions to control the CSS. So first consider how Cognos offers you this control of the CSS for your wish.