title: Recreating Google Homepage (html/css): Questions regarding positioning
body: <p>I'm doing a project on recreating the Google homepage with html and css. I am for the most part finished with the project, but I've noticed a few quirks that are irritating me. I've spent a great deal of time on each of these quirks, but can't get things to way I want them to look. These are the following quirks:</p>
  
  <ol>
  <li>The icon in the top right-hand corner isn't inline with the rest of the text.</li>
  <li>For some reason I can't center the buttons properly.</li>
  <li>Not sure how to handle the white space surrounding the grey footer.</li>
  </ol>
  
  <p><a href="https://jsfiddle.net/theonlybrian/j2k9taj3/145/" rel="nofollow">JSFiddle of The Code</a></p>
  
  <p>If you have any input on any of the above issues, I would forever be thankful! </p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="wrapper"&gt;
      &lt;div id="header"&gt;
          &lt;ul class="navbar"&gt;
              &lt;li class="navli"&gt;&lt;a href="#"&gt; +You &lt;/a&gt;
  
              &lt;/li&gt;
              &lt;li class="navli"&gt;&lt;a href="#"&gt;Gmail&lt;/a&gt;
  
              &lt;/li&gt;
              &lt;li class="navli"&gt;&lt;a href="#"&gt;Images&lt;/a&gt;
  
              &lt;/li&gt;
              &lt;li class="navli" id="icon"&gt;
                  &lt;img src="http://bit.ly/1NHEwTW" height="auto" width="30" /&gt;
              &lt;/li&gt;
              &lt;li class="navli"&gt;&lt;a href="#"&gt;theonlybrianlie@gmail.com&lt;/a&gt;
  
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div id="body"&gt;
          &lt;div class="logo"&gt;
              &lt;img src="https://www.google.com/images/srpr/logo11w.png" /&gt;
          &lt;/div&gt;
          &lt;div class="searchbar"&gt;
              &lt;input type="text" id="search1" /&gt;
          &lt;/div&gt;
          &lt;div id="buttons"&gt;
              &lt;input class="button" id="googlesearch" value="Google Search" type="submit"&gt;
              &lt;input class="button" id="secondbutton" value="I'm Feeling Lucky" type="submit"&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="footer"&gt;
          &lt;div id="leftfoot"&gt;
              &lt;ul&gt;
                  &lt;li class="lf"&gt; &lt;a href="#"&gt;Advertising&lt;/a&gt;
  
                  &lt;/li&gt;
                  &lt;li class="lf"&gt; &lt;a href="#"&gt;Business&lt;/a&gt;
  
                  &lt;/li&gt;
                  &lt;li class="lf"&gt; &lt;a href="#"&gt;About&lt;/a&gt;
  
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
          &lt;div id="rightfoot"&gt;
              &lt;ul&gt;
                  &lt;li class="rf"&gt; &lt;a href="#"&gt;Privacy&lt;/a&gt;
  
                  &lt;/li&gt;
                  &lt;li class="rf"&gt; &lt;a href="#"&gt;Terms&lt;/a&gt;
  
                  &lt;/li&gt;
                  &lt;li class="rf"&gt; &lt;a href="#"&gt;Settings&lt;/a&gt;
  
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>.button {
  font-family:Arial;
  font-size:11px;
  font-weight:bold;
  display:inline;
  height:30px;
  border:1px solid #dcdcdc;
  background:#f2f2f2;
  padding-left: 10px;
  }
  body, html {
  height:100%
  }
  #wrapper {
  min-height:100%;
  position: relative;
  padding:0;
  margin:0;
  }
  .logo img {
  display:block;
  width: 269px;
  height:95px;
  margin:auto;
  margin-top: 80px;
  padding-top: 112px;
  }
  #header {
  width:100%;
  height:100px;
  /*background-color:green*/
  ;
  }
  .navbar {
  /*background-color: red;*/
  float: right;
  }
  .navli {
  display: inline-block;
  font-family: Arial;
  }
  .navli a {
  text-decoration:none;
  color: #404040;
  font-size: 13px;
  padding-left: 15px;
  }
  .navli a:hover {
  text-decoration:underline;
  }
  #icon {
  margin-top:10px;
  padding-left:15px;
  bottom:0;
  position:relative;
  }
  .searchbar {
  width:400px;
  height:28px;
  margin: auto;
  display:block;
  /*background-color:red;*/
  padding-top:10px;
  }
  #search1 {
  width:400px;
  height:28px;
  margin: auto;
  }
  #buttons {
  display:block;
  /*background-color:blue;*/
  height: 22px;
  width:250px;
  margin: auto;
  margin-top: 10px;
  }
  #footer {
  position: absolute;
  bottom:0;
  height:60px;
  width:100%;
  background-color:#f2f2f2;
  clear:both;
  display:block;
  border-top: 1px solid #e4e4e4;
  }
  #leftfoot {
  width:300px;
  left:0;
  /*background-color:blue;*/
  display: inline-block;
  }
  .lf {
  display: inline-block;
  }
  .lf a {
  text-decoration:none;
  color: #404040;
  font-size: 13px;
  font-family: Arial;
  padding-left: 15px;
  }
  .lf a:hover {
  text-decoration: underline;
  }
  #rightfoot {
  width:250px;
  float:right;
  /*background-color:blue;*/
  padding:0;
  margin:0;
  }
  .rf {
  display: inline-block;
  margin:auto;
  }
  .rf a {
  text-decoration:none;
  color: #404040;
  font-size: 13px;
  padding-left: 15px;
  font-family: Arial;
  }
  .rf a:hover {
  text-decoration: underline;
  }
  </code></pre>