Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem ze stylami oraz DIV
mefjiu
post
Post #1





Grupa: Zarejestrowani
Postów: 313
Pomógł: 5
Dołączył: 22.03.2005

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


Witam mam problem ze stopką
pod IE działa dobrze
ale pod FF już się rozsypuje

stopka powinna być zawsze na dole strony a ona nachodzi na text

Adres do strony: www.smsek.info/tapety

co jest nie tak ?

Podaje arkusz styli odpowiedzialny za stopkę:
  1. #footer
  2. {
  3. width: 100%;
  4. height: 60px;
  5. text-align:center;
  6. background-image: url(images/footer_lewe_i_prawe.gif) ;
  7. background-repeat: repeat-x;
  8.  
  9. }
  10.  
  11. #footer_text {
  12. margin-left:auto;
  13. margin-right:auto;
  14. height: 60px;
  15. width: 750px;
  16. background-image: url(images/footer_tlo.gif);
  17. background-repeat: repeat-x;
  18. }
  19.  
  20. #menu_footer {
  21. text-align: center;
  22. font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  23. font-size: 11pt;
  24. color: #ffffff;
  25. font-weight:bold;
  26. background-color: inherit;
  27. }
  28.  
  29. #copyright {
  30. text-align: center;
  31. font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  32. font-size: 11pt;
  33. color: #ffffff;
  34. font-weight:normal;
  35. background-color: inherit;
  36. }


Prosze o wszelkie sugestie porady

Ten post edytował mefjiu 28.06.2006, 11:39:00
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 8)
elnino.pl
post
Post #2





Grupa: Zarejestrowani
Postów: 125
Pomógł: 0
Dołączył: 17.06.2006

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


Spróbuj dodać do #footer "clear:both"
Go to the top of the page
+Quote Post
mefjiu
post
Post #3





Grupa: Zarejestrowani
Postów: 313
Pomógł: 5
Dołączył: 22.03.2005

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


nic to nie dało
Go to the top of the page
+Quote Post
php programmer
post
Post #4





Grupa: Zarejestrowani
Postów: 1 045
Pomógł: 5
Dołączył: 8.11.2004
Skąd: trójmiasto

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


w stylach musisz dodać jeszcze parametr (do tego elementu co ci sie rozjeżdża)

{
display:block;
}
Go to the top of the page
+Quote Post
mefjiu
post
Post #5





Grupa: Zarejestrowani
Postów: 313
Pomógł: 5
Dołączył: 22.03.2005

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


dalej to samo
Go to the top of the page
+Quote Post
php programmer
post
Post #6





Grupa: Zarejestrowani
Postów: 1 045
Pomógł: 5
Dołączył: 8.11.2004
Skąd: trójmiasto

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


a nie sory, ale wiem że MikeMech
gdizes ostatnio podawał link gdzie było to rozwiązane
inne style dla IE inne dla FF
spróbuj jeszcze,
Kod
margin:auto;
Go to the top of the page
+Quote Post
revyag
post
Post #7





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

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


w #oddzielacz masz ustawione height. Wywal to.

@php programmer po co ustawiać display:block, elementowi blokowemu ? --> masło maślane
mefjiu ma oddzielne style (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)
margin: 0 auto centruje (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)
Go to the top of the page
+Quote Post
mefjiu
post
Post #8





Grupa: Zarejestrowani
Postów: 313
Pomógł: 5
Dołączył: 22.03.2005

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


problem naprawiony dziękuję
Go to the top of the page
+Quote Post
Aztech
post
Post #9





Grupa: Zarejestrowani
Postów: 276
Pomógł: 3
Dołączył: 22.10.2003
Skąd: Wrocław

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


ja zawsze robie clear:both a potem float left i musi zadziałać
Go to the top of the page
+Quote Post

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: 25.08.2025 - 22:42