0

By default form elements (input) in jQuery Mobile span over the full width of the screen.

How can I make them fit to the size of their content ?

Raphael Jolivet
  • 3,940
  • 5
  • 36
  • 56
  • Have a look at this: http://stackoverflow.com/questions/3392493/adjust-width-of-input-field-to-its-input [1]: http://stackoverflow.com/questions/3392493/adjust-width-of-input-field-to-its-input – JJJollyjim Jul 12 '12 at 09:59

1 Answers1

0

You can use data-inline="true" on buttons and selects to make them span to the width of their content.

Nirmal Patel
  • 5,128
  • 8
  • 41
  • 52