How to display an input box, dropdown select, and a submit button in a single line?

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;

  1. <form>
  2. <fieldset data-role="controlgroup" data-type="horizontal">
  3.     <input type="search" placeholder="Enter keyword" name="search" id="search" value="">
  4.     <select name="select-native-13" id="select-native-13">
  5.         <option value="#">One</option>
  6.         <option value="#">Two</option>
  7.         <option value="#">Three</option>
  8.     </select>
  9. </fieldset>
  10. </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