You cannot align one word in <CSS3, but in CSS3 a new css keyword has appeared called word-break, which allows you. Obviously this only works in CSS3 browsers.
Give your button a css class if you want this to apply to only one button, for example:
<a data-role="button" class='myButton'>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</a>
Then create a css style like this:
.myButton { word-wrap: break-word !important; white-space: normal !important; }
Then the word will be collapsed to the specified width of the button.
Here's an updated jsFiddle example .
source share