Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [XHTML][CSS] wyjustowanie obrazków
Rabauken
post 10.12.2010, 14:14:41
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 2.12.2010

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


Mam takie coś:

Kod
<div  class="obrazki">
   <p>    
   Ble ble ble ble ble...
   </p>

  <a href="zdj1.html"> <img alt="" title="" height="96" width="128" src="zdj/min1.jpg" /></a>
  <a href="zdj2.html"> <img alt="" title="" height="96" width="128" src="zdj/min2.jpg" /></a>
  <a href="zdj3.html"> <img alt="" title="" height="96" width="128" src="zdj/min3.jpg" /></a>
  <a href="zdj4.html"> <img alt="" title="" height="96" width="128" src="zdj/min4.jpg" /></a>
  <a href="zdj5.html"> <img alt="" title="" height="107" width="160" src="zdj/min5.jpg" /></a>
  <a href="zdj6.html"> <img alt="" title="" height="107" width="160" src="zdj/min6.jpg" /></a>
  <a href="zdj7.html"> <img alt="" title="" height="107" width="160" src="zdj/min7.jpg" /></a>

</div>


i w pliku css

Kod
.obrazki img {
   margin-bottom: 15px;
   border-top-width: 0px;
   border-right-width: 0px;
   border-bottom-width: 0px;
   border-left-width: 0px;
   text-align: justify;
}


Chciałem żeby obrazki były wyjustowane. W chwili obecnej wyjustowany jest tylko pierwszy rząd ze zdjęciami, a drugi już nie. Co zrobić żeby oba były wyjustowane?

Go to the top of the page
+Quote Post
lord2105
post 10.12.2010, 14:51:25
Post #2





Grupa: Zarejestrowani
Postów: 380
Pomógł: 59
Dołączył: 24.04.2010
Skąd: London

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


nie dawaj img w a zrob cos na zasadzie:

CSS:
  1. .obrazki {
  2. text-align: justify;
  3. }
  4. .obrazki a.link1 {
  5. display:block;
  6. width:20px;
  7. height:20px;
  8. background: url ('sciezka') no-repeat center;
  9. }


Ten post edytował lord2105 10.12.2010, 14:55:21


--------------------
40% rozwiązań znajduje się tutaj.
59,9% tutaj.

Jeśli pomogłem rozwiązać Twój problem wciśnij
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: 15.06.2025 - 06:55