Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Obrazki obok siebie tabela
tabbi
post 7.10.2011, 20:10:56
Post #1





Grupa: Zarejestrowani
Postów: 150
Pomógł: 3
Dołączył: 30.10.2010

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


Witam,

nie wiem czemu obrazki są jeden pod drugim! Najłatwiejszy przykład w świecie, dwa obrazki na środku strony obok siebie ....

  1. a.user { display:block; width:48px; height:48px; background:url(../images/icons/user.png);}
  2. a.garage { display:block; width:48px; height:48px; background:url(../images/icons/garage.png);}
  3. #icons {margin: 0 auto;text-align:center;width: 100%; display: table;}
  4. #icons .left{ float: left; width: 50%;display: table-cell;}
  5. #icons .right{ float: right; width: 50%;display: table-cell;}
  6.  
  7. <div id="icons">
  8. <div class="left"><a href="" class="user"></a></div>
  9. <div class="right"><a href="" class="garage"></a></div>
  10. </div>


Kto pomoże ...

SOLVED: ja pi..... wystarczyło odzielic class od id biggrin.gif w style ehhh siedzi człowiek i nie widzi

Ten post edytował tabbi 7.10.2011, 20:17:50
Go to the top of the page
+Quote Post

Posty w temacie
- tabbi   Obrazki obok siebie tabela   7.10.2011, 20:10:56


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: 14.08.2025 - 05:26