How can I set this button multiline?
<a style="width:33%; display:inline-block; " href="/foos.html" data-role="button" data-icon="arrow-l">a lot of text </a>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The above answer given by ppshein is incorrect. It makes a bigger button but doesn’t make the button multilined. The only thing you need to do is add the following css:
It works both for button and input tags.
Btw there’s a bug for IE: the text in the button isn’t clickable. The fix is found at github:
https://github.com/timmywil/jquery-mobile/commit/59a4946d776e9b1f6a75e9eb53ccb38347612125