Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Stopka
GoOx
post
Post #1





Grupa: Zarejestrowani
Postów: 329
Pomógł: 6
Dołączył: 23.11.2011
Skąd: Łódź

Ostrzeżenie: (0%)
-----


Podał by ktoś kod na stopkę która jest u dołu strony wraz z przewijaniem strony?

Dla przykładu dam np naszą klasę tam jest taki czat. Typu gg

Mi chodzi o samą stopkę. Nie o to gg (IMG:style_emoticons/default/biggrin.gif)

Ten post edytował GoOx 25.11.2011, 17:43:37
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
webfreak
post
Post #2





Grupa: Zarejestrowani
Postów: 77
Pomógł: 8
Dołączył: 29.03.2011
Skąd: Londyn

Ostrzeżenie: (0%)
-----


  1. #footer {
  2. position:fixed;
  3. left:0px;
  4. bottom:0px;
  5. height:30px;
  6. width:100%;
  7. background:#999;
  8. }
  9.  
  10. /* IE 6 */
  11. * html #footer {
  12. position:absolute;
  13. top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
  14. }
  15.  



lub

  1.  
  2. body{
  3. margin:0;
  4. padding:0 0 wartosc 0;
  5. }
  6. div#footer{
  7. position:absolute;
  8. bottom:0;
  9. left:0;
  10. width:100%;
  11. height:wartosc;
  12. }
  13. @media screen{
  14. body>div#footer{
  15. position: fixed;
  16. }
  17. }
  18. * html body{
  19. overflow:hidden;
  20. }
  21. * html div#content{
  22. height:100%;
  23. overflow:auto;
  24. }


Ten post edytował webfreak 26.11.2011, 12:52:50
Go to the top of the page
+Quote Post

Posty w temacie
- GoOx   Stopka   25.11.2011, 17:41:35
- - webfreak   [HTML] pobierz, plaintext #footer { position:fix...   26.11.2011, 12:48:01
- - Korab   Słowo-klucz: sticky footer.   26.11.2011, 13:16:40
- - webfreak   Cytat(Korab @ 26.11.2011, 13:16:40 ) ...   26.11.2011, 13:19:27
- - GoOx   Wielkie dzięki webfreak masz pomógł odemnie.   26.11.2011, 15:39:03


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 13:46