Jak zrobić stopkę w css która będzie zawsze u dołu strony www ?: Różnice pomiędzy wersjami

Z Podręcznik Administratora by OPZ SGU
Przejdź do nawigacji Przejdź do wyszukiwania
m (Zastępowanie tekstu - "</source>" na "</pre>")
Linia 14: Linia 14:
     </body>
     </body>
</html>
</html>
</source>
</pre>


<source lang="css">
<source lang="css">
Linia 33: Linia 33:
margin-top:120px;
margin-top:120px;
}
}
</source>
</pre>




[[Category:HTML]]
[[Category:HTML]]

Wersja z 17:23, 15 lut 2018

<source lang="html4strict"> <html>

   <head>
       <link rel="stylesheet" href="layout.css" ... />
   </head>
   <body>

Your website content here.

   </body>

</html>

<source lang="css">

  • {

margin: 0; } html, body { height: 100%; } .wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -100px; } .footer, .push { height: 100px; margin-top:120px; }