ブラウザが Internet Explorer の場合に iframe を表示したいのですが、動作しないようにしようとしています。IE を使用すると表示されず、理由がわかりません。
以下は私のコードです:
<!DOCTYPE html>
<html>
<head>
<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: 700px;
display: block;}
</style>
<body>
<!--[if IE]>
<div style="position: absolute; top: 110px; left: 20px;">
<iframe id = "size" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0" style="background-color:#E6E6E6" src="http://listings2011.boostmotorgroup.com/Search.aspx? DealershipID=4075&isLogo=0&MediaID=36"></iframe>
</div>
<![endif]-->
</body>
</html>