Overflow: hidden not working when its at a certain width 1440px
<p>When i go into Chrome and you know that developer mode thing where you get device widths, well i'm having an issue with the <code>overflow: hidden</code> element in css. The width is 1440px and its <strong>Laptop With HiDPI</strong>. My <code>.login</code> class has an overflow which i do not want, is there a fix to this? Here's my code:</p>

<p>HTML:</p>

<pre><code> &lt;!DOCTYPE html&gt;&lt;script src="snazzy/scripts/home.reg/maIn.js"&gt;&lt;/script&gt;&lt;html lang="en"&gt;&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;meta name="viewport" content="width=device-width, initial-scale=1" /&gt;&lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"&gt;&lt;link rel="stylesheet" type="text/css" href="./snazzy/styles/home.reg/beta.css" /&gt;&lt;link rel="stylesheet" type="text/css" href="./snazzy/styles/home.reg/media.css" /&gt;&lt;title&gt;Home •  &lt;/title&gt;&lt;script type="text/javascript"&gt;function myFunction(){location.reload();}&lt;/script&gt;&lt;style type="text/css"&gt;.scrollers{z-index:1;height:5vh;overflow:hidden;position:relative;margin-top:5pt;margin-left:250pt;padding-800vh;width:;font-size:110%;margin-right:;}.scrollers p{z-index:-1;height:100%;width:100%;position:absolute;margin:0;text-align:center;white-space:nowrap;color:#000;padding-bottom:2pt;&lt;!-- STARTING POS --&gt;-moz-transform: translateX(100%);-webkit-transform: translateX(100%);transform: translateX(100%);&lt;!-- ANIMATION --&gt;-moz-animation: scrollers 15s linear infinite;-webkit-animation: scrollers 15s linear infinite;animation: scrollers 15s linear infinite;}@-moz-keyframes scrollers{0%{-moz-transform: translateX(100%);}100%{-moz-transform: translateX(-100%);}}@-webkit-keyframes scrollers {0%{-webkit-transform: translateX(100%);} 100%{-webkit-transform: translateX(-100%); }}@keyframes scrollers {0%{-moz-transform: translateX(100%);-webkit-transform: translateX(100%);transform: translateX(100%);} 100% {-moz-transform: translateX(-100%);-webkit-transform: translateX(-100%); transform: translateX(-100%);}}&lt;/style&gt;&lt;/head&gt;&lt;body id="body"&gt;&lt;!-- BETA VERSION --&gt;&lt;div class="wrapper"&gt;&lt;div class="main"&gt;&lt;div class="headerTop" id="top"&gt; &lt;!-- &lt;div class="sidebar"&gt;&lt;/div&gt; &lt;div class="logoTop"&gt;&lt;a href="" title=""&gt;&lt;img src="" title="Return To Home" alt="Failed To Load Image ):" /&gt;&lt;/a&gt;&lt;/div&gt;--&gt;&lt;div class="menuTop"&gt;&lt;ul class="links"&gt;&lt;li&gt;&lt;a href="register.php" title="Coming Soon!" class="sUp" onclick="return false"&gt;Register&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="" title="Site Home"&gt;Home&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="" title="Contact Us"&gt;Contact&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="" title=""&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt; &lt;!-- &lt;div class="scrollingText"&gt;&lt;script type="text/javascript"&gt;document.write("&lt;form name=\"tickform\"&gt;");document.write("&lt;input type=\"text\" name=\"tickfield\" disabled=\"disabled\" class=\"scroll\" size=\"150\"&gt;");document.write("&lt;/form&gt;");textticker();&lt;/script&gt;&lt;/div&gt;--&gt;
  &lt;div class="scrollers"&gt;&lt;p&gt;This Is A Beta Version! This Isn't 100% Bug Free So Please Feel Free To Contact Us Via The Contact Options Provided&lt;/p&gt;&lt;/div&gt;&lt;!-- &lt;div class="floatRight"&gt;&lt;div class="searchWrapper"&gt;&lt;form method="GET" action="index.php"&gt;&lt;input type="search" placeholder="Search" name="q" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;button type="submit" class="submit"&gt;&lt;li&gt;Search&lt;/li&gt;&lt;/button&gt;&lt;/form&gt;&lt;/div&gt;&lt;/div&gt; --&gt;&lt;/div&gt;&lt;div class="login" align="center" style="overflow:hidden;"&gt;&lt;h3&gt;Already A Member? Login Below:&lt;/h3&gt;&lt;form method="GET" action="index.php"&gt;&lt;input type="text" name="fname" placeholder="Display Name" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input type="password" name="pass" placeholder="Password" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;button name="submit"&gt;&lt;li&gt;Login&lt;/li&gt;&lt;/button&gt;&lt;/form&gt;&lt;!--
  &lt;div class="register"&gt;
    &lt;form method="POST" action="inex.php"&gt;
      &lt;input type="text" name="first_name" placeholder="Forename" class="inputs" /&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="text" name="last_name" placeholder="Surename" class="inputs" /&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="text" name="user_name" placeholder="Username" title="This is what people will know you by." class="inputs" /&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="password" name="pass_word" placeholder="Password (Choose a secure password!)"  class="inputs"/&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="password" name="pass_confirm" placeholder="Confirm Password" class="inputs" /&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="email" name="e_mail" placeholder="Email" class="inputs" /&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="email" name="e_mail_confirm" placeholder="Confirm Email"  class="inputs"/&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;button name="submit" style="" class="buttonClick"&gt;&lt;li&gt;Register&lt;/li&gt;&lt;/button&gt;
    &lt;/form&gt;
  &lt;/div&gt;    --&gt;
  &lt;/div&gt;&lt;/div&gt;
  &lt;div class="articles"&gt;

    &lt;div class="article-white"&gt;
      &lt;div class="image"&gt;&lt;a href="" title=""&gt;&lt;img src="./img/logo_big.png" title="iCodeUrSite" alt="iCodeUrSite.com" draggable="false" /&gt;
      &lt;/a&gt;&lt;p style="margin-top:-1%"&gt;&lt;span style="font-weight:bold;font-size:20pt"&gt;Show Your Coding Skills Here!&lt;/span&gt; Publish projects you have worked on or even write a blog with code or update your profile with code or edit your profile responsiveness on each device yourself! Click, Drag and Drop is a feature for people with no code experience&lt;/p&gt;
      &lt;/div&gt;
      &lt;h1&gt;Introduction&lt;/h1&gt;
      We are glad you are here! Welcome to a new Social Network designed for your comfort and own enjoyment. There is a changelog for Beta Version which you can view &lt;a href="" title="" onclick="return false"&gt;here&lt;/a&gt;. Code a blog and post it by using HTML, CSS any many other programming languages! Even customize your own profile by using HTML and CSS if you know how to code, which will be added in later versions. If you aren't experienced don't worry we'll add a feature to click and drap and drop elements to where you want them!
    &lt;/div&gt;

    &lt;div class="article-clear"&gt;
      &lt;h1&gt;More In Depth . . . &lt;/h1&gt;
      This is a new Social Network on the web! What makes us unique is that not only we are &lt;u&gt;new&lt;/u&gt; but we are also packed full of features that no other site has. Some features will not be included in the Beta. We are trying to get it as responsive as possible and we have kind of done that but not 100%. We're trying to get it compatible with every device and browser as well! 
    &lt;/div&gt;
    &lt;div class="article-white"&gt;
      &lt;h1&gt;How To Log In&lt;/h1&gt;
      You must be wondering how you suppose to log in if you can't register yet? Well, you must send a reigster application to me (Email Will Be In The Footer) and i will take in all your requested details and add you to the database. After that i send the details to your dedicated email you emailed me with, and BAM, you can now log in. Unfortunately you cannot register at the moment but it is still under construction! If you'd like to change your details at any time, you can also email a resetuest to do so.
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="form"&gt;
    &lt;h2&gt;Submit A Request&lt;/h2&gt;
    &lt;form method="POST" action="index.php"&gt;
      &lt;textarea rows="5" cols="50" placeholder="Enter Your Comment Here" class="tarea" spellcheck="false"&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;button name="submit" class="site-BTN"&gt;&lt;li&gt;Submit&lt;/li&gt;&lt;/button&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  &lt;div class="footer"&gt;
    &lt;div class=""&gt;&lt;p align="center"&gt;Copyright &amp;copy; &lt;?php echo Date('Y'); ?&gt; | All Rights Reserved&lt;/p&gt;&lt;/div&gt;
    &lt;div class="footer-Menu"&gt;

    &lt;/div&gt;
    &lt;div class="image" id="footer-Logo" draggable="false"&gt;&lt;a href="" title=""&gt;&lt;img src="./img/logo_big.png" title="iCodeUrSite" alt="iCodeUrSite.com" draggable="false" /&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;!-- BETA VERSION END --&gt;&lt;/body&gt;&lt;/html&gt;
</code></pre>

<p>CSS (Media Queries)</p>

<pre><code>@media screen and (max-width:360px) {
    .headerTop,
    .menuTop {
        position: static;
        top: 0;
        z-index: 1;
        clear: both;
        float: left;
    }
    .headerTop {
        width: 0;
        transition: 1s all ease 0s;
        -webkit-transition: 1s all ease 0s;
        -moz-transition: 1s all ease 0s;
        -o-transition: 1s all ease 0s;
    }
    .menuTop {
        transition: 1s all ease 0s;
        -webkit-transition: 1s all ease 0s;
        -moz-transition: 1s all ease 0s;
        -o-transition: 1s all ease 0s;
        background: rgba(63, 127, 191, 0.77);
        width: 100%;
        z-index: ;
        max-width: 360px;
        min-width: 361px
    }
    .scrollers {
        visibility: hidden;
    }
    .image img {
        width: 350px;
        height: 150px
    }
    .article-white,
    .article-clear {
        width: 360px;
        max-width: 360px;
        min-width: 354px;
    }
    .tarea {
        width: 330px;
        max-width: 335px;
        min-width: 330px;
        transition: 1s all ease 0s;
        -webkit-transition: 1s all ease 0s;
        -moz-transition: 1s all ease 0s;
        -o-transition: 1s all ease 0s;
    }
}

@media screen and (max-width:600px) {}

@media screen and (max-width:320px) {}

@media screen and (max-width:510px) {}

@media screen and (max-width:384px) {
    .headerTop,
    .menuTop {
        position: static;
        top: 0;
        z-index: 1;
        clear: both;
        float: left;
    }
    .headerTop {
        width: 0;
        transition: 1s all ease 0s;
        -webkit-transition: 1s all ease 0s;
        -moz-transition: 1s all ease 0s;
        -o-transition: 1s all ease 0s;
    }
    .menuTop {
        transition: 1s all ease 0s;
        -webkit-transition: 1s all ease 0s;
        -moz-transition: 1s all ease 0s;
        -o-transition: 1s all ease 0s;
        background: rgba(63, 127, 191, 0.77);
        width: 100%;
        z-index: ;
        max-width: 384px;
        min-width: 384px
    }
    .scrollers {
        visibility: hidden;
    }
    .image img {
        width: 350px;
        height: 150px
    }
    .article-white,
    .article-clear {
        width: 384px;
        max-width: 384px;
        min-width: 354px;
    }
    .tarea {
        width: 330px;
        max-width: 335px;
        min-width: 330px;
    }
    body {
        overflow-x: hidden;
    }
}

@media screen and (max-width:1440px) {
    .login {
        overflow: hidden;
        position: relative;
        max-width: 1430px;
        height: 200px
    }
}
</code></pre>

<p>Plain CSS</p>

<pre><code>html, body{cursor:url(bg.png);height: 100%;margin:0;padding:0;background:#fff;height:100%;/*url(bg2.png)center center fixed no-repeat; */-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;}body:before{}.headerTop{height:27pt;width:100%;background:rgba(63, 127, 191, 0.77);box-shadow: 0 0 4vh rgba(0,0,0,0.64);top:0;position: fixed;z-index: 1}.logoTop{background:#888;height: 10vh;width:10vh;box-shadow: 0 0 4vh rgba(0,0,0,0.64);border:0;outline:0;}.logoTop img{height: 10vh;width:10vh;font-size: 2vh;border:0;outline:0;}.menuTop{transition: 1s all ease 0s;-webkit-transition: 1s all ease 0s;-moz-transition: 1s all ease 0s;-o-transition: 1s all ease 0s;background:;clear:both;float:left;margin-left:;box-shadow:;top:0;position:fixed;height:27pt;width:250pt;box-shadow:0 0 4vh rgba(0,0,0,0.64);-webkit-box-shadow:0 0 4vh rgba(0,0,0,0.64)}.links{margin-top:5pt;margin-left:-2%;margin-right:-98%;white-space:nowrap;clear:both;float:left;height:27pt;width:250pt;}.links li{list-style-type:none;display:inline;font-size:120%;padding:4pt;}.links li a{white-space:nowrap;color:#222;text-decoration:none;font-size:;font-family:Arial;}.floatRight{height:45pt;width:250pt;clear:both;float:right;box-shadow:;top:0;right:0;position:fixed;}.sUp:active{background:none}.sUp{background:none;padding:3px;border:1px solid #222;cursor:not-allowed}.sUp:hover{background:#222;color:#fff}.searchWrapper{margin-right:10pt;height:45pt;width:250pt;clear:both;float:right;top:0;right:0;position:fixed;margin-top:-4pt}.searchWrapper form{margin-top:1vh;margin-left:1vh;white-space:nowrap}input[type=search]{padding:3px;border:1px solid #555;width:200pt}.submit{background:none;border:1px solid #555;padding:3px;color:#555;cursor:pointer}.submit li{list-style-type:none;}.submit:hover{color:#fff;background:#555;}.sidebar{height:100%;width:100pt;background:rgba(63, 127, 191, 0.77);position:fixed;left:0;top:0;z-index:-1;resize:right;}.login{margin-top:40pt;overflow:hidden}.login h3{text-decoration:underline;color:rgba(63, 127, 191, 0.77)}.login form{}.login form input[type=text]{border:none;outline:none;padding:3pt;border:1pt solid #eee;border-radius:1pt}.login form input[type=password]{border:none;outline:none;padding:3pt;border:1pt solid #eee;border-radius:1pt}.login form button{border:none;outline:none;padding:3pt;background:none;border:1px solid #555;border-radius:1pt;cursor:pointer}.login form button li{list-style-type:none}.register{margin-top:15pt}.register form input[type=email]{border:none;outline:none;padding:3pt;border:1pt solid #eee;border-radius:1pt}.articles{box-shadow:0 0 4pt rgba(0,0,0,0.64) inset;background:rgba(10, 91, 255, 0.94);height:auto;width:100%;margin-top:20pt;padding:20pt 0 40pt 0;text-align: center}.article-white{background:;padding:20pt 0 40pt 0;min-width:100%}.article-clear{background:#fff;padding:20pt 0 40pt 0;box-shadow: ;min-width:100%}.wrapper{min-height:100%;}.main{overflow:auto;padding-bottom: ;}.footer{position: relative;margin-top:50pt;height:auto;clear:both;background:rgba(63, 127, 191, 0.77);padding:10pt 0 10pt 0;box-shadow: 0 0 4vh rgba(0,0,0,0.64);}.tarea{max-width:500px;border:1px solid rgba(10, 91, 255, 0.94);box-shadow: 0 0 4px rgba(39, 27, 212, 0.77)}.form{margin-top:20pt;text-align:center}.footer div p{}.footer-Menu{}.site-BTN{border:none;outline:none;background:none;border:1px solid rgba(10, 91, 255, 0.94);box-shadow:;padding:4pt;cursor: pointer}.site-BTN li{list-style-type:none}.image{}.image img{height:150px;padding:0;outline:0;border:0;transition: 1.5s all ease 0s;-webkit-transition: 1.5s all ease 0s;-moz-transition: 1.5s all ease 0s;-o-transition: 1.5s all ease 0s;}#footer-Logo{text-align: center}
.dev{margin-top:40pt;text-align:center}iframe{display:inline}
</code></pre>

<p>Apologies if my code isn't easy to read.
If anyone know why this is occurring, it would be great if you could help me out. Thank You</p>