Team:Ravenwood Raptors

From 2014hs.igem.org

(Difference between revisions)
Line 43: Line 43:
/* Footer */
/* Footer */
-
footer{
+
* {
-
position:absolute;
+
  margin: 0;
-
bottom:0;
+
}
-
width:100%;
+
html, body {
-
height:60px;
+
  height: 100%;
-
background:url('http://oi59.tinypic.com/2qvgkcw.jpg');
+
}
 +
.page-wrap {
 +
  min-height: 100%;
 +
  /* equal to footer height */
 +
  margin-bottom: -142px;  
 +
}
 +
.page-wrap:after {
 +
  content: "";
 +
  display: block;
 +
}
 +
.site-footer, .page-wrap:after {
 +
  /* .push must be the same height as footer */
 +
  height: 142px;
 +
}
 +
.site-footer {
 +
  background: url('http://oi58.tinypic.com/6qgsk7.jpg');
}
}
Line 545: Line 560:
</script>
</script>
-
<!-- Slider -->
+
<!-- Footer -->
-
<footer>
+
<div class="page-wrap">  
-
<p>Filler Text</p>
+
  Content!     
 +
</div>
 +
<footer class="site-footer">
 +
  I'm the Sticky Footer.
</footer>
</footer>

Revision as of 22:22, 5 April 2014

Ravenwood Raptors

Content!
I'm the Sticky Footer.