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 -142px; /* the bottom margin is the negative value of the footer's height */
-
    }
+
}
-
    .footer, .push {
+
.footer, .push {
-
    height: 4em;
+
clear: both; height: 142px; /* .push must be the same height as .footer */
-
    }
+
}

Revision as of 12:02, 18 July 2011