Комбинация текстового поля / раскрывающегося списка

Я пытаюсь" объединить "текстовое поле и раскрывающееся окно. Кажется, я не могу выровняйте их.

enter image description here

Мой код:

<input name="" type="text" maxlength="50" style="width: 665px; padding:0px; z-index: 2; position: absolute;" />
<select name="" style="z-index: 1; width: 695px; padding:0px; position:absolute;">
    <option value="Value for Item 1" title="Title for Item 1">Item 1</option>
    <option value="Value for Item 2" title="Title for Item 2">Item 2</option>
    <option value="Value for Item 3" title="Title for Item 3">Item 3</option>
</select>
5
задан Spencer 9 June 2011 в 02:54
поделиться