I'm trying to set up a website to open within a specific <div>
tag, like the example shown in this link: Responsive. Can anyone spot what I'm doing incorrectly?
<html>
<head>
<script>
function mobile320()
{
window.location.assign("http://www.idevtechnolabs.com")
}
</script>
<style type="text/css">
body{
margin: 0px auto;
padding: 0px;
background: #06855a;
text-align: center;
}
.browser1{
display: inline-block;
position: relative;
width: 320px !important;
height: 480px !important;
background: #efefef;
}
</style>
</head>
<body>
<input type="button" value="Load new document" onclick="mobile360()" />
<div class="browser1"> </div>
</body>
</html>