Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS][HTML][PHP]wymiana grafiki, rozwalony div..
Goldi
post 29.11.2009, 13:20:10
Post #1





Grupa: Zarejestrowani
Postów: 25
Pomógł: 0
Dołączył: 12.01.2009

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


Witam,
Jak naprawić to?
KOd:

  1. <div class="latest_profile">
  2. <h5>Ostatnio zapisani</h5>
  3. <h5 class="create"><a href="#">create your profile now</a></h5>
  4. <h5 class="view_more"> <a href="#">view more</a></h5>
  5. </div><div class="profile_container">
  6. <div class="profile_box">
  7. <div class="photo"><a href="zdjecia/<? echo $photoid; ?>.jpg" rel="lightbox" title="<? echo $t2['login']; ?>"><img src="<? echo $fotka; ?>" alt="" /></a></div>
  8. <? if ($none == 1){
  9. ?>
  10. <?
  11. }
  12. else {
  13. ?>
  14. <?
  15. }
  16. ?>
  17. <div class="profile_detail">
  18. <p>Login: <span><? echo $t2['login']; ?></span><br />
  19. Wiek: <span><? echo round(($roznica)/(3600*24*30*12)); ?></span><br />
  20. Włosy: <span><? echo $t2['kwlosow']; ?></span><br />
  21. </p>
  22. </div>
  23. </div>
  24. </div><a href="profil-<? echo $t2['login']; ?>.html"><img src="images/more_btn.gif" alt="" class="more_2" /></a>
  25. <?
  26. }
  27. ?>

Wynik:


Jak to naprawić,
żeby wyszło podobnie do tego:


Plik css:
http://wklej.to/atyw


Pozdrawiam

Ten post edytował Goldi 29.11.2009, 13:21:42
Go to the top of the page
+Quote Post
sunpietro
post 29.11.2009, 17:16:21
Post #2





Grupa: Zarejestrowani
Postów: 262
Pomógł: 26
Dołączył: 23.01.2009
Skąd: eZ Systems

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


spróbuj display: inline dla .latest_profile
a dla Profile_container pobaw się marginesami i paddingami, pewnie tam siedzi diabeł - że coś Ci skrycie rozpycha diva


--------------------
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: 28.06.2025 - 15:33