Difference between revisions of "Template:SIAT-SCIE/footer"

 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
         <style>
 
         <style>
 
             html{height:100%;}
 
             html{height:100%;}
             body{min-height:100%;margin:0;padding:0;position:relative;}
+
              
             main{padding-bottom:100px;background-color: #bdb76b;}/* main的padding-bottom值要等于或大于footer的height值 */
+
              
             footer{position:absolute;margin-top:100px;width:100%;height:100px;background-color: ;}
+
             footer{position:absolute;margin-top:800px;height:100px;background-color: ;}
 
         </style>
 
         </style>
 
     </head>
 
     </head>

Latest revision as of 23:51, 15 October 2018