Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [css] Stopka przesuwająca się w zależności od długości treści
asidro
post 13.10.2010, 07:56:36
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 1
Dołączył: 24.07.2010

Ostrzeżenie: (30%)
XX---


  1. body
  2. {
  3. background-color:#19293d;
  4. background-image: url(images/background.gif);
  5. background-repeat:repeat-x;
  6. margin:0 auto;
  7. height:100%;
  8. width:100%;
  9. }
  10. #container
  11. {
  12. margin: 0px;
  13. width: 994px;
  14. }
  15. #logo
  16. {
  17. background-image:url(images/logo.png);
  18. margin-top: 0px;
  19. margin-left: 0px;
  20. width:300px;
  21. height:165px;
  22. position:absolute;
  23. }
  24. #top
  25. {
  26. margin-top: 0px;
  27. margin-left:300px;
  28. width:600px;
  29. height:19px;
  30. position:absolute;
  31. }
  32. #menu
  33. {
  34. margin-top:19px;
  35. margin-left:300px;
  36. width:600px;
  37. height:146px;
  38. position:absolute;
  39. }
  40. #tresc
  41. {
  42. background-image: url(images/tresc.png);
  43. background-repeat:repeat-y;
  44. margin-top: 165px;
  45. margin-left:0px;
  46. width:900px;
  47. position:absolute;
  48. font-family:Arial, Helvetica, sans-serif;
  49. font-size:9px;
  50. }
  51. #aktualnosci
  52. {
  53. font-size:12.5px;
  54. padding-right:40px;
  55. width:350px;
  56. float:right;
  57. text-align:left;
  58. }
  59. #banner
  60. {
  61. padding-left:40px;
  62. height:500px;
  63. width:400px;
  64. float: left;
  65. }
  66. #stopka
  67. {
  68. background-image: url(images/stopka.png);
  69. width:900px;
  70. height:264px;
  71. clear: both;
  72. }


Chciałbym aby stopka była doczepiona do diva z treścią w zależności od jego długości. Jak?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
hind
post 13.10.2010, 13:59:28
Post #2





Grupa: Zarejestrowani
Postów: 142
Pomógł: 24
Dołączył: 30.03.2009
Skąd: Rokitno Szlacheckie

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


a choćby dać stopke na position:absolute i bottom:0px w dive contentu ustawionego na relative
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 11:43