Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Positioned the footer correctly

  • Loading branch information...
commit 305ffaa8dee30de85ff9b3ff961ebdd48b7dcd6d 1 parent 446bc84
Rafa de Castro authored May 19, 2012
4  _layouts/default.html
@@ -22,12 +22,12 @@
22 22
     {{ content }}
23 23
   </div>
24 24
 
25  
-  <div class="footer">
  25
+  <footer>
26 26
     <div class="container">
27 27
       <i>
28 28
         This is the little personal page of <a href="/aboutme.html">Rafa de Castro</a>.
29 29
       </i>
30 30
     </div>
31  
-  </div>
  31
+  </footer>
32 32
 </body>
33 33
 </html>
6  css/style.css
@@ -35,10 +35,12 @@ h2 > a {
35 35
   text-align: center;
36 36
 }
37 37
 
38  
-.footer {
  38
+footer {
39 39
   margin-top: 50px;
  40
+  padding-bottom: 10px;
  41
+  position: absolute;
  42
+  bottom: 0px;
40 43
   width: 100%;
41  
-  height: 100%;
42 44
   background-color: #9C9C9C;
43 45
   color: white;
44 46
   font-size: 10px;

0 notes on commit 305ffaa

Please sign in to comment.
Something went wrong with that request. Please try again.