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

Line 6: Line 6:
 
             body{min-height:100%;margin:0;padding:0;position:relative;}
 
             body{min-height:100%;margin:0;padding:0;position:relative;}
 
             main{padding-bottom:100px;background-color: #bdb76b;}/* main的padding-bottom值要等于或大于footer的height值 */
 
             main{padding-bottom:100px;background-color: #bdb76b;}/* main的padding-bottom值要等于或大于footer的height值 */
             footer{position:absolute;bottom:0;width:100%;height:100px;background-color: ;}
+
             footer{position:absolute;margin-top:100px;width:100%;height:100px;background-color: ;}
 
         </style>
 
         </style>
 
     </head>
 
     </head>
 
     <body>
 
     <body>
        <header>header</header>
 
        <main>main content</main>
 
 
         <footer><img src="https://static.igem.org/mediawiki/2018/a/a3/T--SIAT-SCIE--SIAT_Logo_text.png" width=''300px" height = "200px"></footer>
 
         <footer><img src="https://static.igem.org/mediawiki/2018/a/a3/T--SIAT-SCIE--SIAT_Logo_text.png" width=''300px" height = "200px"></footer>
 
     </body>
 
     </body>
 
</html>
 
</html>

Revision as of 23:48, 15 October 2018