Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Nie chce zeby tekst oblewal fotke! Pomocy
_kama
post
Post #1





Grupa: Zarejestrowani
Postów: 76
Pomógł: 0
Dołączył: 20.03.2005
Skąd: Łódź

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


Nie mam pomyslu jak to rozwiazac. Potrzebuje xhtmla do takiego screena. Takie newski beda tylko 2 na stronie glownej wiec nie oplaca sie table wstawiac. Efekt ma byc: fotka, pod nia data a obok kazdej fotki tresc ktora nawet jak jest dluzsza to nie oblewa tekstu. Nie bierzcie pod uwage tego tla pomaranczowo - bialego i tej pomaranczowej kreski bo to jest fragment tla:



Moj kod do tej pory:
  1. <div class="news">
  2. <img src="tmp/news1.jpg" alt="" />
  3. <a href="#"><b>Ut wisi enim ad minim veniam</b><br />Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit ...</a>
  4. <span class="data">7 października 2006</span>
  5. </div>
  6.  
  7. <div class="news">
  8. <img src="tmp/news1.jpg" alt="" />
  9. <a href="#"><b>Ut wisi enim ad minim veniam</b><br />Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor ...</a>
  10. <span class="data">7 października 2006</span>
  11. </div>
  12. </div>


a css

  1. #top-left .news {margin: -10px 0 0 0; padding: 0 10px 25px 37px}
  2. #top-left .news img {padding: 3px; border: 1px solid #666666; float:left; margin: 15px 30px 0 0}
  3. #top-left .news span.data {font-size: 11px; color: #333333; margin: 0; padding: 0; clear:both}
  4. #top-left .news a {line-height: 13px; font-size: 11px; color: #E3E3E3; display:block; text-decoration: none; margin: 0; padding: 0}
  5. #top-left .news a:hover {color: #FFFFFF}


ale efekt jest paskudny, poza tym inny w kazdej przegladarce :/ Pomozcie
Go to the top of the page
+Quote Post

Posty w temacie


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 Aktualny czas: 21.08.2025 - 23:00