English 中文(简体)
iframe in firefox
原标题:iframe in firefox

我在一行将这一守则装上http://x.net,该代码在一行即告生效。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>Store</title> 

    </head> 
<body style="margin: 0px; padding: 0px; border: 0px; background-color: #9e0000;"> 
    <div style="width: 100%; background-color: #9e0000; overflow: hidden; width:800px; padding-left:55px;background-image:url(http://x.net/images/MaintenceMode_icon.png); background-repeat:no-repeat; margin:auto; background-position:0 50%;" id="maintain"> 
    <h1 style="color:#fff; margin-bottom: 0px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:30px;">Maintenance Mode</h1> 
    <p style="color:#fff; margin-top: 0px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:14px;">Your store is in Maintenance Mode and not viewable by the public. Go to your
        <a href="http://y.net" style="color:#fff; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:14px;">settings page</a> to change this.</p> 
    </div> 
    <iframe src="http://x.net/" width="100%" height="100%" frameborder="0" name="Main" style="margin: 0px; padding: 0px; border: 0px;"></iframe> 
</body> 
</html>

The problem is this code working fine, but in the firefox browser the iframe isn t loading. Any suggestion? And pls don t suggest to remove iframe.

最佳回答

我在Iceweasel 4和3号楼里的镜子装载,但没有这样的一页。

If it doesn t work for you, install firebug: http://getfirebug.com/, and it will help you diagnose the problem.

screenshot

问题回答

暂无回答




相关问题
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!

热门标签