Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Div i tekst w jednej linij
degistivepl
post
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 5.04.2018

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


Cześć, mam problem z tym by pasek progress (te 2 divy) był w tej samej linij co tekst. Aktualnie jeśli usunę ten pasek to teksty wyświetlają się prawidłowo obok siebie, ale jak dodam ten pasek to "Postęp: " ten pasek i % jest w kolejnych linijkach.
  1. <p><div class = 'order-label'> Postęp:</div><div class='progress'><div id=".$wiersz['id']." class='progress-content'></div></div>".$wiersz['progress']."%</p>

  1. .progress {
  2. background-color: #808080;
  3. border-radius: 50px;
  4. width: 65px;
  5. height: 5px;
  6. }
  7. .progress-content {
  8. background-color: green;
  9. border-radius: 50px;
  10. height: 5px;
  11. }
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: 22.08.2025 - 05:07