How can I center an iframe inside a div in the middle of the screen? I've tried adding margin: 0 auto to #iframe but it didn't work. What am I missing here? Any help would be appreciated.
<head>
<title></title>
<link href="menu.css" rel="stylesheet" type="text/css" />
<script src="script/jquery-1.11.1.min.js"></script>
<style>
#div1{
margin-left:auto;
margin-right:auto;
overflow-x: hidden;
width:100%;
height:1000px;
}
#iframe{
width: 60%;
height: 1000px;
background: #FFFFFF;
}
</style>
</head>
<body>
<div style="margin-left:auto;margin-right:auto">
<ul class="dropdown">
<li class="drop">
<a href="#">About us</a>
</li>
<li class="drop">
<a href="#">Contact us</a>
</li>
<li class="drop">
<a href="#">Services</a>
</li>
<li>
<a href="#">Address</a>
</li>
</ul>
</div>
<div style="width:auto;margin:0 auto;">
<div id="div1">
<iframe id="iframe" scrolling="auto" align="middle" frameborder="0" onload="window.scrollTo(0, 0)" src="http://www.myhotels24.eu/fibe.aspx?hid=10000&chid=0&rate=IBE&css=brown" allowtransparency="true"></iframe>
</div>
</div>
</body>