Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Wyrównanie tekstu w divie
mimol
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 5
Dołączył: 10.12.2007

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


Mam taki kod
  1. <div id="pager" class="pager" style="width:490px;border-style: solid; border-width: 5px;">
  2. <form>
  3. <div style="text-align: left;"><span class="prev">Wstecz</span></div>
  4. <div style="text-align: center;"><input type="text" class="pagedisplay" style="width:40px;"></div>
  5. <div style="text-align: right;"><span class="next">Dalej</span></div>
  6. </form>
  7. </div>

Chcę żeby Wstecz było po lewej stronie diva, input pagedisplay na śrdoku a dalej po prawej stronie. Jak powinien wyglądać kod?
Robią mi się odstępy po każdym divie;/

Ten post edytował mimol 1.08.2011, 14:24:09
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
trucksweb
post
Post #2





Grupa: Zarejestrowani
Postów: 1 199
Pomógł: 31
Dołączył: 22.03.2004
Skąd: Warszawa

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


  1. <div style="text-align: left;float:left;"><span class="prev">Wstecz</span></div>
  2. <div style="text-align: center;margin:0 auto;"><input type="text" class="pagedisplay" style="width:40px;"></div>
  3. <div style="text-align: right;float:right;"><span class="next">Dalej</span></div>
Go to the top of the page
+Quote Post
mimol
post
Post #3





Grupa: Zarejestrowani
Postów: 247
Pomógł: 5
Dołączył: 10.12.2007

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


Dalej jest linijkę niżej... Jak to naprawić
Go to the top of the page
+Quote Post
trucksweb
post
Post #4





Grupa: Zarejestrowani
Postów: 1 199
Pomógł: 31
Dołączył: 22.03.2004
Skąd: Warszawa

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


jest duzo mozliwosci, zalazy co chcesz osiagnac

  1. <div style="float:left;width:50%;">
  2. <div style="text-align: left;float:left;"><span class="prev">Wstecz</span></div>
  3. <div style="text-align: center;float:right;"><input type="text" class="pagedisplay" style="width:40px;"></div>
  4. </div>
  5.  
  6. <div style="
Go to the top of the page
+Quote Post
mimol
post
Post #5





Grupa: Zarejestrowani
Postów: 247
Pomógł: 5
Dołączył: 10.12.2007

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


Coś się kod rozwalił.
Chcę żeby Wstecz było po lewej stronie diva, input pagedisplay na śrdoku a dalej po prawej stronie. Jak powinien wyglądać kod?
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: 4.10.2025 - 16:40