How to display an input box, dropdown select, and a submit button in a single line?
Hi,
When I try to implement something like displaying a search box, a dropdown select, and a submit button, all in a single line, what i am getting is them in different lines.
I tried something like;
- <form>
- <fieldset data-role="controlgroup" data-type="horizontal">
- <input type="search" placeholder="Enter keyword" name="search" id="search" value="">
- <select name="select-native-13" id="select-native-13">
- <option value="#">One</option>
- <option value="#">Two</option>
- <option value="#">Three</option>
- </select>
- </fieldset>
- </form>
But here, the search box and dropdown appears in two lines. How can I display text-input, dropdown, and submit button, all three in a single line?
Thanks in advance