How do I do a manual line break in an jQuery Mobile button? -


i want have button multiple lines. add white-space:normal not allow manual line breaks. have tried <br> , &#x00a; don't work jqm button text only. note not want automatic line-breaks, want decide myself put them. nor want change height of button. no, want add linebreaks.

i.e. want able have button with
text
like
this

instead of
text this

is there way around limitation?

ok, there way it. since use gwt can do

jqmbutton b = new jqmbutton("dummy text"); b.getelement().setinnerhtml("this<br>text<br>works"); 

Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -