Difference between revisions of "Template:BABS UNSW Australia Footer"

Line 3: Line 3:
 
<style>
 
<style>
  
html {
+
/* Layout */
  position: relative;
+
html, body, #container { height: 100%; margin: 0; padding: 0; }
  min-height: 100%;
+
body > #container { height: auto; min-height: 100%; }
}
+
#content { padding-bottom: 3em; }
body {
+
#footer { clear: both; position: relative; z-index: 10; height: 3em; margin-top: -3em; }
  /* Margin bottom by footer height */
+
  margin-bottom: 100px;
+
  padding:0;
+
  height:100%;
+
}
+
.footer {
+
  position: absolute;
+
  bottom: 0;
+
  width: 100%;
+
  /* Set the fixed height of the footer here */
+
  height: 100px;
+
  background-color: #f5f5f5;
+
}
+
  
</style>
+
/* Theme */
 +
body { font: .75em/normal "Lucida Sans", "Lucida Grande", sans-serif; }
 +
a, a:link, a:visited { color: #c6762f; text-decoration: underoline; }
 +
a:hover, a:focus {  }
 +
p { margin-bottom: 1em; }
 +
#about { padding: 50px; }
 +
#footer { background-color: black; color: white; font-size: 200%; text-align: center; line-height: 3em; }
  
 +
</style>
 +
<div id="footer">UNSW</div>
 
</html>
 
</html>

Revision as of 02:17, 15 July 2015