Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Div przy divie
DonMuha
post
Post #1





Grupa: Zarejestrowani
Postów: 28
Pomógł: 0
Dołączył: 24.03.2010

Ostrzeżenie: (10%)
X----


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:
  1. <label>Search:</label>
  2. <div class="input">
  3. <input type="text" value="" id="name" name="username" maxlength="30" />
  4. </div>
  5. <div class="Button">
  6. <a href="?subtopic=search&inquiry=">
  7. <div class="Button:hover"><img src="<?PHP echo getLayoutName(); ?>/images/texts/ok.png" alt="" width="38" height="18" /></div></a>
  8. </div>
Go to the top of the page
+Quote Post

Posty w temacie
- DonMuha   Div przy divie   7.08.2010, 13:54:42
- - Damonsson   [CSS] pobierz, plaintext .input { backgrou...   7.08.2010, 14:54:49
- - mkdes   Efekt uzyskasz nadając kontenerom DIV i polom INPU...   7.08.2010, 16:44:20
- - DonMuha   Dzięki.   7.08.2010, 17:27:11


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: 23.08.2025 - 13:03