Difference between revisions of "Template:Team:Bielefeld-CeBiTec/CSS"

m (fix footer to bottom test)
Line 67: Line 67:
  
 
#main {
 
#main {
    padding-bottom: -150px;
+
  overflow: auto;
 +
  padding-bottom: 150px;
 
}
 
}
  
Line 74: Line 75:
 
section#footer {
 
section#footer {
 
   position: relative;
 
   position: relative;
   margin-top: -100px;
+
   margin-top: -150px; /* negative value of footer height */
 
   clear: both;
 
   clear: both;
  padding: 50px;
 
  height: 100px;
 
 
   background: #222222;
 
   background: #222222;
 +
  padding: 50px;
 
}
 
}
  

Revision as of 12:36, 29 May 2017