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;} | ||
- | |||
.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%;} | |
- | + | ||
- | + | ||
- | html, body { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | #wrap {min-height: 100%;} | |
- | + | #main {overflow:auto; | |
- | + | 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*/ ------------------