Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Linki nachodzą na siebie (chmura tagów)
AboutMe
post
Post #1





Grupa: Zarejestrowani
Postów: 261
Pomógł: 0
Dołączył: 24.02.2008

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


Jak zrobić żeby linki nie nachodziły na siebie, margin nie działa

  1. <div style="width:250px;">
  2. <a href='tag/places/' class='tag-link-18' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Places</a>
  3. <a href='tag/neque/' class='tag-link-16' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Neque</a>
  4. <a href='tag/ipsum/' class='tag-link-14' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Ipsum</a>
  5. <a href='tag/congue/' class='tag-link-12' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Congue</a>
  6. <a href='tag/purus/' class='tag-link-19' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Purus</a>
  7. <a href='tag/quam/' class='tag-link-20' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Quam</a>
  8. <a href='tag/vitae/' class='tag-link-21' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='2 topics' style='font-size: 16px;'>Vitae</a>
  9. <a href='tag/news-2/' class='tag-link-17' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='1 topic' style='font-size: 16px;'>News</a>
  10. <a href='tag/magna/' class='tag-link-15' style="background:#000000; color:#ffffff; padding:5px; margin:15px;" title='1 topic' style='font-size: 16px;'>Magnatese</a>
  11. </div>


Tylko nie doradzajcie mi żebym ustawił stałą szerokość. Chciałbym żeby szerokość dopasowywała się do długości wyrazu.

Ten post edytował AboutMe 8.10.2013, 14:15:08
Go to the top of the page
+Quote Post
pedro84
post
Post #2





Grupa: Nieautoryzowani
Postów: 2 249
Pomógł: 305
Dołączył: 2.10.2006

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


Atrybut line-height. Poza tym, zrób to na liście, jak należy.
Go to the top of the page
+Quote Post

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: 26.09.2025 - 10:18