![]() ![]() |
Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 28 Pomógł: 0 Dołączył: 24.03.2010 Ostrzeżenie: (10%)
|
Witam mam pewien problem. Chciałbym aby button "ok" był obok pola tekstowego input. Lecz nie mogę tego zrobić. Oto screen: (IMG:http://img200.imageshack.us/img200/5900/searchbt.png) .
Css: Kod label { color: #4a1e00; font-size: 11px; line-height: 14px; } .input { background: url(images/menu/input-bg-4.png) no-repeat; height: 18px; width: 129px; } input { border: none; background: none; font: 11px/13px Arial, Helvetica, sans-serif; width: 121px; } .Button { height: 18px; width: 38px; cursor: pointer; background-image:url(images/button.png); } .Button:hover { height: 18px; width: 38px; background-image:url(images/button2.png); cursor: pointer; } .Button IMG {border: 0px;} Kod html: |
|
|
|
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 2 355 Pomógł: 533 Dołączył: 15.01.2010 Skąd: Bydgoszcz Ostrzeżenie: (0%)
|
|
|
|
|
| -mkdes- |
Post
#3
|
|
Goście |
Efekt uzyskasz nadając kontenerom DIV i polom INPUT atrybut stylu: style="float: left;"
Jak chcesz żeby coś szło w jednej linii to najlepiej zamknąć inputy w jednym divie, a pola input floatować do lewej. Aby się pozbyć floatowania używasz float: none oraz clear: both Ten post edytował mkdes 7.08.2010, 16:45:25 |
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 28 Pomógł: 0 Dołączył: 24.03.2010 Ostrzeżenie: (10%)
|
Dzięki.
|
|
|
|
![]() ![]() |
|
Aktualny czas: 10.06.2026 - 07:00 |