Note that there are some explanatory texts on larger screens.

plurals
  1. POFrameset won't work in IE8
    text
    copied!<p>I have constructed a frameset which is meant to center a webpage in the middle of the browser window.</p> <pre><code>&lt;html&gt; &lt;frameset rows="100%,567px,100%" border="0"&gt; &lt;frame src="blank.html" noresize="noresize" scrolling="yes"&gt; &lt;frameset cols="100%,1128px,100%" border="0"&gt; &lt;frame src="blank.html" noresize="noresize"&gt; &lt;frame src="webpage.html" noresize="noresize"&gt; &lt;frame src="blank.html" noresize="noresize"&gt; &lt;/frameset&gt; &lt;frame src="blank.html" noresize="noresize" scrolling="yes"&gt; &lt;noframes&gt; &lt;body&gt;Page requires a frame-supporting browser.&lt;/body&gt; &lt;/noframes&gt; &lt;/frameset&gt; &lt;/html&gt; </code></pre> <p>Blank is an empty html document. This works brilliantly in both Firefox and IE6, but in IE8 it simply shows a white page, namely the blank.html. Why is it not showing the same as in Firefox?</p> <p>EDIT: This could evidently not be solved without my code, so here it is, with doctype and html tags and a few other bits excluded. I've tried your solution, but it still doesn't center vertically.</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt; &lt;meta http-equiv="imagetoolbar" content="no"&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;style type="text/css"&gt; &lt;!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(xxxbackground.gif); } #divInteraction { position:absolute; width:640px; height:480px; z-index:1; left: 460px; top: 47px; overflow: hidden; } #divVideo { position:absolute; width:424px; height:284px; z-index:2; left: 13px; top: 101px; overflow: visible; } #imgInteraction { } #iframeInteraction { display: none; } --&gt; &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="divInteraction"&gt; &lt;iframe id="iframeInteraction" width="100%" height="100%" &gt;&lt;/iframe&gt; &lt;img id="imgInteraction" src="powerpoint_pic_0.jpg" /&gt; &lt;/div&gt; &lt;div id="divVideo"&gt; &lt;object id="wmvVideo" width="424" height="284" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" standby="" type="application/x-ms-wmp" VIEWASTEXT&gt; &lt;param name="AutoSize" value="false" /&gt; &lt;param name="ShowStatusBar" value="0" /&gt; &lt;param name="DefaultFrame" value="x" /&gt; &lt;param name="ShowControls" value="1" /&gt; &lt;param name="ShowAudioControls" value="1" /&gt; &lt;param name="ShowPositionControls" value="0" /&gt; &lt;param name="ShowTracker" value="1" /&gt; &lt;param name="ShowDisplay" value="0" /&gt; &lt;param name="ShowCaptioning" value="0" /&gt; &lt;param name="ShowGoToBar" value="0" /&gt; &lt;param name="ControlType" value="2" /&gt; &lt;param name="Autostart" value="1" /&gt; &lt;param name="InvokeUrls" value="1" /&gt; &lt;param name="AnimationAtStart" value="0" /&gt; &lt;param name="TransparentAtStart" value="0" /&gt; &lt;param name="SendStateChangeEv" value="1" /&gt; &lt;param name="SendOpenChangeEv" value="1" /&gt; &lt;param name="SendPlayChangeEv" value="1" /&gt; &lt;param name="AllowChangeCtrlType" value="1" /&gt; &lt;param name="AllowChangeDisplaySize" value="1" /&gt; &lt;param name="AllowScan" value="1" /&gt; &lt;param name="AutoRewind" value="1" /&gt; &lt;param name="PlayCount" value="1" /&gt; &lt;param name="Volume" value="0" /&gt; &lt;param name="Filename" value="http://www.example.com/example/example.wmv"/&gt; &lt;embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/" name="Player1NS" AutoSize="false" ShowStatusBar="0" DefaultFrame="x" ShowControls="1" ShowTracker="1" ShowDisplay="0" ShowCaptioning="0" ShowGoToBar="0" Autostart="1" AnimationAtStart="0" TransparentAtStart="0" PlayCount="1" Volume="0" Filename="http://www.example.com/example/example.wmv" ShowAudioControls="1" ShowPositionControls="0" width="424" height="284"&gt; &lt;br /&gt; &lt;/embed&gt; &lt;/object&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload