inline search input and submit

inline search input and submit

Hi,

Just recently started using jQueryMobile / jQuery (also a newbie at web development) and have tried to set an inline search input alongside a submit button, but have had no success so far.

I've tried: -

  • Have the two inputs into a DIV tag with 'data-inline=true' .
  • Have the two inputs into a DIV tag with 'data-inline=true' .and the 'fieldcontain' data role.
  • Mark each input with 'data-inline=true'.

The only result so far is to have the submit button inlined. The only way to control the width of the search input is by css, but still can't get it to be inline.

Any help and suggestions would be welcome