English 中文(简体)
模式方言中(showModalDialog)的标语在e8中不给100%的宽度。 工作?
原标题:Object in modal dialog (showModalDialog) don t honor 100% width in ie8. Workaround?

相信这种说法或100%的宽度似乎在e8的血清中并不正确。

列出这一简单样本代码。

var retVal = window.showModalDialog(URL,window.self, "dialogWidth=600px;dialogHeight=305px;scroll=yes;status=yes;caption=yes;titlebar=yes;menubar=yes;toolbar=yes;help=yes;resizable=yes;center=yes;");


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
    <head>
    </head>
    <body>
        <div id="temp" style="width: 100%; height: 500px; border:1px solid red;">
        </div>
    </body>
</html>

操作该法典,然后将播种窗口转播。 通知说,红 d仍然是原来的面积,而不是100%。 我注意到..................有正确的行为。

Is there are a wordaround?

毕业

问题回答

你们需要处理报复活动,否则,道歉的宽度不会改变。

我利用“ j”处理事件,因为交叉浏览器 su......





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签