Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Odstęp pomiędzy linkami
AboutMe
post 10.01.2014, 12:59:56
Post #1





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

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


Witam,

Mam taką chmurę tagów:

  1. <a href=' tag/awesome/' class='tag-link-11' title='1 topic' style='font-size: 12px;'>Awesome</a>
  2. <a href=' tag/magna/' class='tag-link-15' title='1 topic' style='font-size: 12px;'>Magna</a>
  3. <a href=' tag/news-2/' class='tag-link-17' title='1 topic' style='font-size: 12px;'>News</a>
  4. <a href=' tag/vitae/' class='tag-link-21' title='2 topics' style='font-size: 12px;'>Vitae</a>
  5. <a href=' tag/quam/' class='tag-link-20' title='2 topics' style='font-size: 12px;'>Quam</a>
  6. <a href=' tag/purus/' class='tag-link-19' title='2 topics' style='font-size: 12px;'>Purus</a>
  7. <a href=' tag/congue/' class='tag-link-12' title='2 topics' style='font-size: 12px;'>Congue</a>
  8. <a href=' tag/ipsum/' class='tag-link-14' title='2 topics' style='font-size: 12px;'>Ipsum</a>
  9. <a href=' tag/neque/' class='tag-link-16' title='2 topics' style='font-size: 12px;'>Neque</a>
  10. <a href=' tag/places/' class='tag-link-18' title='2 topics' style='font-size: 12px;'>Places</a>
  11. <a href=' ' class='tag-link-13' title='4 topics' style='font-size: 12px;'>Hot</a>


  1. .my-tags a { padding:2px 8px; margin-bottom:25px; height:21px; background:#c7c7c7; border-bottom:2px solid #ababab; border-radius:3px; font-size:12px; color:#ffffff; }


Problem jest taki że margin-bottom:25px; nie działa. Tagi z drugiego rzędu nachodzą na tagi z pierwszego rzędu. Jak zrobić odstęp miedzy 1. a 2 linią. Aha i nie chcę żeby linki rozciągały się na całą długość.
Go to the top of the page
+Quote Post
toffiak
post 10.01.2014, 13:06:04
Post #2





Grupa: Zarejestrowani
Postów: 395
Pomógł: 80
Dołączył: 24.08.2009

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


http://jsfiddle.net/4Q92b/


--------------------
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: 29.03.2024 - 14:49