HomefieldOfView | SPi-V dev

Navigation

user

Pan working fine in IE, but is horrendous in Firefox.

For some reason, the simple pan using XML is showing fine in IE, full screen, but in Firefox it displays 100% width, but apparently only 10-15% height. What could be causing this, and is there an easy fix? I have searched everywhere but cannot find this exact issue. Any ideas?

http://sexystarfish.com/360test/test2.html

Re: Pan working fine in IE, but is horrendous in Firefox.

I added the following CSS in the head of the document. This soulution even validates in XHTML strict. You can also put the CSS in an external CSS-file of course.

<style type="text/css"><!--
body {
height: 100%;
margin: 0px;
}
html {
height: 100%;
overflow: hidden;
}
//--></style>

You can see my example of the code here with a small footer.

Re: Pan working fine in IE, but is horrendous in Firefox.

Excellent, thank you!

Re: Pan working fine in IE, but is horrendous in Firefox.

Either that, or remove the doctype, so Firefox uses quirks mode to display your page.
BTW, you tell the browser the page is in XHTML, but the code you're using is HTML...