cancel
Showing results for 
Search instead for 
Did you mean: 

Different Portalheader for different size of screens /different browsers

Former Member
0 Kudos

Hello experts,

I have a problem with the size of my Portal Header.

Our Masthead includes different Images as background pictures .

The Issue is that Firefox shows the Portal Header different to the IE.

I set the width for all pictures fix with ...px.

Would it be better to set the width in %???????

(We also have that problem if we use bigger screens than 15inch )

Is there any possibility to set the portalheader dynamicly for every screen and for both browser?

Regards

Marco

Edited by: Marco Gennari on Sep 10, 2008 5:22 PM

Edited by: Marco Gennari on Sep 10, 2008 5:26 PM

Edited by: Marco Gennari on Sep 10, 2008 5:30 PM

Edited by: Marco Gennari on Sep 10, 2008 5:31 PM

Accepted Solutions (1)

Accepted Solutions (1)

benjamin_houttuin
Active Contributor
0 Kudos

Hi,

I don't know if this can help you but Javascript can detect browser type and versions and therfore this might help you to render the page with the borwser in mind.

Here some websites that might help you:

http://www.quirksmode.org/js/detect.html

http://www.pageresource.com/jscript/jscreen.htm

http://www.devx.com/tips/Tip/14369

http://www.webcredible.co.uk/user-friendly-resources/css/hacks-browser-detection.shtml

http://rafael.adm.br/css_browser_selector/

Cheers,

Benjamin Houttuin

Former Member
0 Kudos

That ist true Java Script can detect various browsers an so I can modify based on that script my size oh the images used in the portal header.

But what is with the size of the screen???

Is there not any standard SAP way to customize the porthal header in that way that it is unversal for all screens and browsers????

Thanks

Marco

benjamin_houttuin
Active Contributor
0 Kudos

I would say use percentages like 100% width

Former Member
0 Kudos

I tried this. But if i change the Pixel value to a % value nothing happens. Are there any customizing based on the page configuration necessary??? Maybe Isolationmethod??

Answers (0)