Team:Ravenwood Raptors
From 2014hs.igem.org
(Difference between revisions)
TejasManohar (Talk | contribs) |
TejasManohar (Talk | contribs) |
||
Line 43: | Line 43: | ||
/* Footer */ | /* Footer */ | ||
- | + | * { | |
- | + | margin: 0; | |
- | + | } | |
- | + | html, body { | |
- | height: | + | height: 100%; |
- | background:url('http:// | + | } |
+ | .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> | ||
- | <!-- | + | <!-- Footer --> |
- | < | + | <div class="page-wrap"> |
- | < | + | Content! |
+ | </div> | ||
+ | <footer class="site-footer"> | ||
+ | I'm the Sticky Footer. | ||
</footer> | </footer> | ||
Revision as of 22:22, 5 April 2014
Ravenwood Raptors
Content!