title: div css styling not responding to media query for width
body: <p>I have a div I created that I am using for a subscribe button. This div is responding perfectly to my desktop CSS, but it isn't responding to my commands in my media query. </p>
  
  <p>I have set the width to many different things and it fully takes up the entire page and messes up the rest of my page by making it extend past where the right margin would normal end. </p>
  
  <p>This is the div that I am having issues with.</p>
  
  <pre><code>&lt;div class="subscribebutton" onmouseover="this.style.background='#12BDB8';" onmouseover="this.style.color='white';" onmouseout="this.style.background='transparent';"&gt;
      &lt;a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"&gt;Subscribe&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>It is inside of a content wrapper I created..</p>
  
  <pre><code>&lt;div class="newsletter-content"&gt;
  
                  &lt;div class="centermailimg"&gt;&lt;img src="/images/mailicon.png" alt="mail"&gt;&lt;/div&gt;
                      &lt;p class="subscribecolortext"&gt;Get up-to-date news and special deals sent to your inbox&lt;/p&gt;&lt;br&gt;
                          &lt;p class="subscribebodytext"&gt;We want to hear from you, let us know what we can do to make your experience better!&lt;/p&gt;
                      &lt;br&gt;&lt;br&gt;
                              &lt;div class="subscribebutton" onmouseover="this.style.background='#12BDB8';" onmouseover="this.style.color='white';" onmouseout="this.style.background='transparent';"&gt;
                                  &lt;a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'"&gt;Subscribe&lt;/a&gt;
                              &lt;/div&gt;
  
                      &lt;div id="light" class="newsletterenvelope"&gt;&lt;a class="close" href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'"&gt;Close&lt;/a&gt;
                          &lt;form id="newsletterform" action="" method="POST"&gt;
                              &lt;span class="spanlargefont"&gt;&lt;span class="spancenter"&gt;Subscribe To Our Newsletter&lt;/span&gt;&lt;/span&gt;
                              &lt;div class="floatrightinline"&gt;&lt;p&gt;Subscribe to our newsletter to receive special promotions and get up to date news about BuyFarBest.&lt;/p&gt;&lt;/div&gt;
                                      &lt;div class="center"&gt;
                                          &lt;input class="inputbarcenter" name="name" placeholder="Name" type="text" required&gt;&lt;br&gt;
                                          &lt;input class="inputbaremailcenter" name="email" placeholder="Email Address" type="email" required&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
                                          &lt;input id="newssubmit" name="submit" type="submit" value="Subscribe" a href = "javascript:void(0)" onclick = "document.getElementById('lightone').style.display='none';document.getElementById('fadeone').style.display='none'"&gt;&lt;/a&gt;
                                      &lt;/div&gt;
                          &lt;/form&gt;
                      &lt;/div&gt;
                      &lt;div id="fade" class="black_overlay"&gt;&lt;/div&gt;
                      &lt;div id="lightone" class="newsletterthankyou"&gt;&lt;a href = "javascript:void(0)" onclick = "document.getElementById('lightone').style.display='none';document.getElementById('fadeone').style.display='none'"&gt;Close&lt;/a&gt;
                          &lt;span class="spanlargefont"&gt;&lt;span class="spancenter"&gt;Thanks for subscribing!&lt;/span&gt;&lt;/span&gt;
                              &lt;p class="center"&gt;It won't be long before you start getting awesome deals sent to your inbox.&lt;/p&gt;
                      &lt;/div&gt;
                      &lt;div id="fadeone" class="black_overlay"&gt;&lt;/div&gt;
  
                      &lt;br&gt;
  
              &lt;/div&gt;
  </code></pre>
  
  <p>This is the normal desktop CSS that works perfect.</p>
  
  <pre><code>.subscribebutton {
  width: 350px;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #12BDB8;
  background-color: transparent;
  color: #12BDB8;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  margin: auto;
  text-align: center;
  }
  .subscribebutton a {
      text-decoration: none;
      outline: none;
      color: #12BDB8;
      width: 100%;
  }
  .subscribebutton a:hover {
      height: 100%;
      width: 100%;
      color: #FFFFFF;
      -webkit-transition: color 300ms ease-in 200ms; /* property duration timing-function delay */
      -moz-transition: color 300ms ease-in 200ms;
      -o-transition: color 300ms ease-in 200ms;
      transition: color 300ms ease-in 200ms;
  }
  .subscribebutton:hover {
      background-color: #12BDB8;
      color: #FFFFFF;
      -webkit-transition: background 300ms ease-in 200ms; /* property duration timing-function delay */
      -moz-transition: background 300ms ease-in 200ms;
      -o-transition: background 300ms ease-in 200ms;
      transition: background 300ms ease-in 200ms;
  }
  </code></pre>
  
  <p>Then the media query CSS</p>
  
  <pre><code>    .subscribebutton {
      width: 100px;
      padding: 15px;
      border-radius: 15px;
      border: 2px solid #12BDB8;
      background-color: transparent;
      color: #12BDB8;
      font-size: 1.5em;
      font-weight: bold;
      cursor: pointer;
      margin: auto;
      text-align: center;
  }
  .subscribebutton a {
      text-decoration: none;
      outline: none;
      color: #12BDB8;
  
  }
  .subscribebutton a:hover {
      height: 100%;
  
      color: #FFFFFF;
      -webkit-transition: color 300ms ease-in 200ms; /* property duration timing-function delay */
      -moz-transition: color 300ms ease-in 200ms;
      -o-transition: color 300ms ease-in 200ms;
      transition: color 300ms ease-in 200ms;
  }
  </code></pre>
  
  <p>Is there something I have over-looked? I've been stuck on this forever.</p>
  
  <p>To see this you can visit the site it is on at buyfarbest.com .
  It's on the index page.</p>