Doctype DTD and krpano

  • Hello,

    What is the correct Doctype to be used in the index.html? I tried everything but the viewer won't load then. If I remove the DTD it loads normally.The doctype is nessecary for certain IE styling elements (posistion).

    I use SWFobject 2 in my html

  • I know that there is an issue with using the percentage such as 100% and the doctype transitional (and strict). I assume this is the same issue. If you will specify the window size by pixels instead of % it probably will work.

    Good Luck.

  • Thanks,

    I still want to use percentages, so Im working out a Javascript that checks screensize and then resizes the element. Not working atm.

    maincontent being the div where krpano resides

  • Nah don't need the Frameset, But its the most "loose" dtd. So I tried that. But thanks! That code fixed it :)

    Code
    <!DOCTYPEhtmlPUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html140/DTD/loose.dtd">

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!