Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS] Problem ze stopką
thomson89
post
Post #1





Grupa: Zarejestrowani
Postów: 1 178
Pomógł: 51
Dołączył: 7.01.2009
Skąd: Gdańsk

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


Witam!

Mam problem ze stopką strony. Nie przylega ona do końca monitora, lecz jak treść jest krótsza pojawia się wyżej. Style stopki:
  1. #footer {
  2. clear: both;
  3. height: 180px;
  4. background: url(../images/img03.jpg) repeat-x left bottom;
  5. /*background-color: #753334;*/
  6. text-align: center;
  7. font-size: smaller;
  8. font-family: Arial, Helvetica, sans-serif;
  9. color: white;
  10. }

(IMG:http://ifotos.pl/img/zrzut3_rqqhxq.JPG)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
thomson89
post
Post #2





Grupa: Zarejestrowani
Postów: 1 178
Pomógł: 51
Dołączył: 7.01.2009
Skąd: Gdańsk

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


Cytat(korro @ 5.12.2009, 15:08:05 ) *
  1. width: 100%;

Nie działa...

@vokiel, no coś takiego ale nie umiem tego zastosować do mojej stronki. Pomożesz?

Dałem tak (divy są ok), a treść objąłem divem main. I nie działa. (treść to tabelka).

  1. html, body, #wrapper {height: 100%;}
  2.  
  3. body > #wrapper {height: auto; min-height: 100%;}
  4.  
  5. #main {padding-bottom: 180px;} /* must be same height as the footer */
  6.  
  7. #footer {position: relative;
  8. margin-top: -180px; /* negative value of footer height */
  9. height: 180px;
  10. clear:both;}
  11.  
  12. .clearfix:after {content: ".";
  13. display: block;
  14. height: 0;
  15. clear: both;
  16. visibility: hidden;}
  17. .clearfix {display: inline-block;}
  18. /* Hides from IE-mac \*/
  19. * html .clearfix { height: 1%;}
  20. .clearfix {display: block;}
  21. /* End hide from IE-mac */


Ten post edytował thomson89 5.12.2009, 18:26:09
Go to the top of the page
+Quote Post

Posty w temacie


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: 5.10.2025 - 01:11