Template:Uppsala-SwedenTemplate

From 2011.igem.org

(Difference between revisions)
Line 240: Line 240:
.wrap_3 {float:left; display:inline; width:183px;position:relative; padding:0; margin:0;}
.wrap_3 {float:left; display:inline; width:183px;position:relative; padding:0; margin:0;}
.wrap_12 {float:left; display:inline; width:732px; position:relative; padding:0; margin:0;}
.wrap_12 {float:left; display:inline; width:732px; position:relative; padding:0; margin:0;}
-
.wrap_7 {float:left; display:inline; width:976px; position:relative; padding:0; margin:0;}
 
.clear {clear: both; display: block; overflow: hidden; visibility: hidden;width: 0; height: 0;}
.clear {clear: both; display: block; overflow: hidden; visibility: hidden;width: 0; height: 0;}
Line 409: Line 408:
.contrast {background:#202020; color:#bfbecc;}
.contrast {background:#202020; color:#bfbecc;}
 +
<!--START FOOTER-->
-
* {
+
html, body {height: 100%;}
-
margin: 0;
+
-
}
+
-
html, body {
+
-
height: 100%;
+
-
}
+
-
.wrapper {
+
-
min-height: 100%;
+
-
height: auto !important;
+
-
height: 100%;
+
-
width: 100%;
+
-
        background-color: #8b8b8b;
+
-
margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
+
-
}
+
-
.footer, .push {
+
-
height: 142px; /* .push must be the same height as .footer */
+
-
}
+
-
/*
+
#wrap {min-height: 100%;}
-
Sticky Footer by Ryan Fait
+
#main {overflow:auto;
-
http://ryanfait.com/
+
padding-bottom: 150px;}  /* must be same height as the footer */
 +
 
 +
#footer {position: relative;
 +
margin-top: -150px; /* negative value of footer height */
 +
height: 150px;
 +
clear:both;}
 +
 
 +
/*Opera Fix*/
 +
body:before {
 +
content:"";
 +
height:100%;
 +
float:left;
 +
width:0;
 +
margin-top:-32767px;/
 +
}
-
*/
+
<!--[if !IE 7]>
 +
<style type="text/css">
 +
#wrap {display:table;height:100%}
 +
</style>
 +
<![endif]-->
 +
<!--END FOOTER-->
#ram
#ram

Revision as of 10:10, 20 July 2011

#ram { border-style:solid; padding-left:20px; padding-right:20px; } ------------------- /*Wikihack*/ /* it's in my file*/ ------------------