Internet Explorer正在重新调整我的iframe大小

时间:2013-08-06 18:47:32

标签: html internet-explorer google-chrome

我有一个适合谷歌浏览器页面的iframe但是当我在IE10中打开它时,好像整个页面已经放大了

以下是chrome

的示例

enter image description here

这是探险家

enter image description here

下面是我的代码

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Fastlane Autosales</title>
<link href="http://fonts.googleapis.com/css?family=Oswald:400,300" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>

<style>
body {width:100%; height:100%; overflow:hidden, margin:0}
html {width:100%; height:100%; overflow:hidden}
#size {width: 900px; height: 800px; display: block;}
</style>
 <body>
<div id="wrapper1">
<div id="menu-wrapper">
    <div id="menu" class="container">
        <ul>
            <li><a href="index.html">Homepage</a></li>
            <li class="current_page_item"><a href="inventory.html">Inventory</a></li>
            <li><a href="Finance.html">Financing</a></li>
            <li><a href="contact.html">Contact Us</a></li>
        </ul>
    </div>
</div>
</div>

<div style="position: absolute; top: 50%; left: 20px; margin-top: -360px">
<iframe id = "size" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" style="background-color:#E6E6E6" src="http://listings2011.boostmotorgroup.com/Search.aspx?DealershipID=4075&amp;isLogo=0&amp;MediaID=36"></iframe>
</div>

</body>

0 个答案:

没有答案