You are not logged in.

1

Friday, February 3rd 2012, 2:25pm

Pano size in internet explorer do not fit 100%

Hello,
I try to get a simple html page with an html menu on the top and the pano for the rest of the screen.
I build a table with the Top row for the html menu and the second row to embed the pano.

It works perfectly with chrome, firefox, safari but not with Internet explorer.

If i ASK height=100%, internet explorer use more than the 100% available. Other browser use perfect 100% available on the screen.
See example here: http://nespresso.visitonweb.be/

In IE, my bottom navigation bar isn't visible :-(

Any Idea how to fix this in IE ?

Thanks
Dimitri

2

Friday, February 3rd 2012, 3:22pm

OK.
While finding a better solution, i've made this:

Source code

1
2
<!--[if IE]><div id="pano" style="width:100%; height:92%;"><![endif]-->
<![if !IE]><div id="pano" style="width:100%; height:100%;"><![endif]>




If browser is IE, height = 92 % and 100% for other browsers.

If you have other idea, you are welcome ;-)

Dimitri

mindlessboss

Professional

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

3

Friday, February 3rd 2012, 4:43pm

Hi!
That is not good solution.

Btw - about size of div.
It's not krpano problem.

You need to read about html doctype and elements sizes to solve this.
Good luck

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN