Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 177 Pomógł: 0 Dołączył: 8.11.2005 Ostrzeżenie: (0%)
|
mam taki kod:
arkusz stylów: Kod .p_info_quantity { text-align: right; border-bottom: 1px solid #C0C0C0; padding: 5px 0 5px 0; } .qty_box { display:inline; float:left; font-size:10px; margin:0; width:35px; text-align: right; } .qty_images { float:left; width:9px; display:inline; } .qty_plus { background:transparent url(/images/icons/plus.gif) no-repeat scroll center center; display:block; font-size:1px; height:9px; margin:0; width:9px; } .qty_minus { background:transparent url(/images/icons/minus.gif) no-repeat scroll center center; display:block; font-size:1px; height:9px; margin:0; width:9px; } efekt jest taki: (IMG:http://img165.imageshack.us/img165/6307/39013589py7.jpg) chciałbym aby pole formularza i te znaki +/- dolegały do przycisku "do koszyka" w taki sposób: (IMG:http://img153.imageshack.us/img153/9960/76866608tf8.jpg) próbowałem różnych sposobów ale jakoś mi nie wychodzi. może ktoś będzie wiedział jak to zrobić? |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 274 Pomógł: 54 Dołączył: 2.05.2006 Skąd: Nadarzyn Ostrzeżenie: (0%)
|
1) możesz zmniejszyć szerokość div'a p_info_quantity to się przesunie
2) możesz wstawić input i przyciski do div'a i nadać mu odpowiedni maring-left 3) możesz nadać inputowi odopowieni maring-left |
|
|
|
Post
#3
|
|
|
Grupa: Zarejestrowani Postów: 94 Pomógł: 14 Dołączył: 11.10.2007 Ostrzeżenie: (0%)
|
Do .p_info_quantit dodaj float: right;
|
|
|
|
![]() ![]() |
|
Aktualny czas: 24.12.2025 - 16:05 |