css - Can I set the width and height of an entire browser window in the code of the same html file? -


i set size (width , height) of entire html window page without javascript/css call in page. properties in same html file control size of browser.. below did control size of browser window, 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 it.</div>   </body> </html> 


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

python 3.x - PyQt5 - Signal : pyqtSignal no method connect -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)