Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Pozycjonowanie obrazka do dołu diva.
Jellyeater
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 26.04.2009

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


Witam wszystkich!!!

Mam w tej chwili taką stronę: http://www.poligrafus.com.pl/
I chcę ją przerobić na DIV.
W tej chwili została mi jeszcze ostatnia rzecz:
http://www.jellyeater.net84.net/poligrafus/index1.html

Czy jest jakiś sposób, by ten obrazek po prawej był na dole? Próbowałem już nawet java scriptem, ale te moje divy nie mają podanej wysokości. (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) I nie wiem co robić.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Jellyeater
post
Post #2





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 26.04.2009

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


Niestety nadal nie działa. Ale jest lepiej. W IE pokazuje się jak trzeba. W FF nie. Obrazek jest w div prawy_brzeg. Na stronie tej drugiej jest update z tym kodem.

Kod strony:
  1. <body id="theDoc" onLoad="ustaw(1); zatwierdz(1);">
  2.  
  3. <div id="container">
  4. <div class="box" style="width: 603px; float: left;">
  5. <div class="box" style="width: 603px"><img height="127" width="603" alt="Poligrafus - Andrzej Adamiak Drukarnia Warszawa" src="images/Untitled-1_01.gif" /></div>
  6. <div class="box" style="width: 603px"><a href="glowna.html" onmouseover="ustaw(1)" onmouseout="zwolnij()" onclick="return zatwierdz(1)"><img class="menu" height="27" width="159" border="0" name="rysunek1" alt="Strona główna" src="images/Untitled-1_03.gif" /></a><a href="oferta.html" onmouseover="ustaw(2)" onmouseout="zwolnij()" onclick="return zatwierdz(2)"><img class="menu" height="27" width="84" border="0" name="rysunek2" alt="Oferta" src="images/Untitled-1_04.gif" /></a><a href="referencje.html" onmouseover="ustaw(3)" onmouseout="zwolnij()" onclick="return zatwierdz(3)"><img class="menu" height="27" width="123" border="0" name="rysunek3" alt="Referencje" src="images/Untitled-1_05.gif" /></a><a href="kontakt.html" onmouseover="ustaw(4)" onmouseout="zwolnij()" onclick="return zatwierdz(4)"><img class="menu" height="27" width="99" border="0" name="rysunek4" alt="Kontakt" src="images/Untitled-1_07.gif" /></a><img class="menu" height="27" width="138" border="0" name="empty" alt="" src="images/empty.gif" /></div>
  7. </div>
  8. <div class="box" style="width: 372px; float: left;"><img height="154" width="372" alt="" src="images/Untitled-1_02.gif" /></div>
  9. <div class="box" style="width: 975px; float: none;"><img height="13" width="603" alt="" src="images/Untitled-1_08.gif" /><img height="13" width="372" alt="" src="images/Untitled-1_09.gif" /></div>
  10.  
  11. <div id="lewy_brzeg"><img height="324" width="13" alt="" src="images/Untitled-1_10.gif" /></div>
  12. <div id="pageajaxloader" style="background-color: white; text-align: center; height: 200px;">
  13.  
  14.  
  15.  
  16. <img height="32" width="32" src="images/ajax-loader.gif" /></div>
  17. <div id="pagecontent"></div>
  18. <div id="prawy_brzeg"></div>
  19.  
  20. <div class="box" style="width: 975px; float: none;"><img height="9" width="975" style="align: left;" alt="" src="images/bottom_stripe.gif" /></div>
  21. </div>
  22. <div class="box" style="width: 100%; height: 120px; display: block;">&nbsp;</div>
  23.  
  24. <div id="mask" style="position: absolute; left: 0; top:0; width: 100%; height: 100%; background-color: black; filter: alpha(opacity=90); -moz-opacity: 0.9; opacity: 0.9; display: none;">
  25. &nbsp;
  26. </div>
  27. <div id="picturediv" style="position: absolute; display: none; top:0; left:0; width: 100%;">
  28. <div id="picturediv1" style="margin: 30 auto;">
  29. <div style="text-align: right;"><img width="25" height="25" border="0" alt="Close" src="images/close.gif" style="cursor: pointer" onclick="hidepicture()" /></div>
  30. <div style="text-align: center;"><img id="pictureimg" src="images/ajax-loader_black.gif" /></div>
  31. <div style="text-align: center; color: white; font-family: Arial;" id="pictureinfo"></div>
  32. </div>
  33. </div>
  34. </body>
  35. </html>


Styl:

  1. body {
  2. margin: 0px;
  3. padding: 0px;
  4. color: black; background: #333333;
  5. text-align: center;
  6. }
  7. #container {
  8. width: 975px;
  9. margin: 0 auto;
  10. position: relative; top: 60px;
  11. padding: 0px 0px 0px 0px;
  12. background-image: url(images/background.gif);
  13. background-repeat: repeat-y;
  14. }
  15. div.box {
  16. padding: 0px;
  17. margin: 0px;
  18. }
  19. img.menu {
  20. padding: 0px;
  21. margin: 0px;
  22. }
  23. #lewy_brzeg {
  24. float: left;
  25. position: relative;
  26. padding: 0px 0px 0px 0px;
  27. margin: 0px auto;
  28. width: 13px;
  29. float: left;
  30. }
  31. html #lewy_brzeg {
  32. display: inline;
  33. }
  34. #pagecontent {
  35. position: relative;
  36. float: left;
  37. padding: 0px;
  38. width: 590px;
  39. background-color:white;
  40. }
  41. html #pagecontent {
  42. display: inline;
  43. }
  44. #prawy_brzeg {
  45. padding: 0px 0px 0px 0px;
  46. position: right bottom;
  47. height: 324px;
  48. width: 372px;
  49. float: left;
  50. background-image: url(images/color_block.gif);
  51. background-repeat: norepeat;
  52. }


BTW to pod FF 3.0.9 nie działa coś przycicsk html w odpowiedzi. (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Ten post edytował Jellyeater 27.04.2009, 04:29:59
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: 3.10.2025 - 11:36