I would like to control the size (width and height) of an html window page. I would like the page to be small like a popup window. I would like the properties in the same html document to control the size of the browser without having to make a javascript link in another page.. Below is what I did to control the size of the document, but it didn't work... Help!
<!DOCTYPE html>
<html>
<head>
<link type="text/css" />
<style type="text/css">
html
{height: 500px;
width:500px;
margin:0;
padding:0;
}
body
{height: 500px;
width:500px; margin:0;
overflow: hidden;
padding:0;
}
.container
{height: 500px;
width:500px; margin:0;
overflow: hidden;
padding:0;}
</style>
</head>
<body>
<div class="container">This is it.</div>
</body>
</html>