Page 1 of 1
Break a Button value into two lines
Posted: Wed Apr 29, 2026 12:17 pm
by jPaul
Hi Everybody,
I have a button. The value of this button is "Forgot Password?".
How can I break this value into two lines? Can I centre the two lines?
Forgot
Password?
Re: Break a Button value into two lines
Posted: Wed Apr 29, 2026 12:45 pm
by AliGW
Alignment is on the Style tab.
Type "Forgot Password" into the Value box in the button dialog.
Right-click the button and select Object HTML.
In the CSS tab, paste:
Code: Select all
white-space: normal;
width: 120px;
It should work in preview, but not on the WWB page.
I can't vouch for it working across browsers or on mobile, but you can publish a test page to check that yourself.
https://stackoverflow.com/questions/746 ... iple-lines
Re: Break a Button value into two lines
Posted: Wed Apr 29, 2026 1:01 pm
by BaconFries
Probably the easiest way to achieve is to just use a themeable Button.
Re: Break a Button value into two lines
Posted: Wed Apr 29, 2026 3:01 pm
by AliGW
Which one is that in the Toolbox? I can't see an object with that name.
Re: Break a Button value into two lines
Posted: Wed Apr 29, 2026 3:35 pm
by BaconFries
Somethings just stick in memory but it is now called icon button See the following:

Re: Break a Button value into two lines
Posted: Wed Apr 29, 2026 3:37 pm
by AliGW
Mmm ... I was looking for Themeable Button.
I didn't realise that an icon button could exist without an icon - we live and learn!!!