Template:Uppsala-SwedenTemplate

From 2011.igem.org

(Difference between revisions)
Line 392: Line 392:
-
    * {
+
* {
-
    margin: 0;
+
margin: 0;
-
    }
+
}
-
    html, body {
+
html, body {
-
    height: 100%;
+
height: 100%;
-
    }
+
}
-
    .wrapper {
+
.wrapper {
-
    min-height: 100%;
+
min-height: 100%;
-
    height: auto !important;
+
height: auto !important;
-
    height: 100%;
+
height: 100%;
-
    margin: 0 auto -4em;
+
margin: 0 auto -200px; /* the bottom margin is the negative value of the footer's height */
-
    background-color:#8b8b8b;
+
}
-
    }
+
.footer, .push {
-
    .footer, .push {
+
height: 200x; /* .push must be the same height as .footer */
-
    height: 4em;
+
}
-
    }
+
 
-
    * {
+
/*
-
    margin: 0;
+
 
-
    }
+
Sticky Footer by Ryan Fait
-
    html, body {
+
http://ryanfait.com/
-
    height: 100%;
+
 
-
    }
+
*/
-
    .wrapper {
+
-
    min-height: 100%;
+
-
    height: auto !important;
+
-
    height: 100%;
+
-
    margin: 0 auto -4em;
+
-
    }
+
-
    .footer, .push {
+
-
    height: 4em;
+
-
    }
+

Revision as of 11:22, 19 July 2011