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?
Break a Button value into two lines
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- jPaul
-

- Posts: 92
- Joined: Thu Jun 10, 2021 11:00 am
Break a Button value into two lines
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
- AliGW
-

- Posts: 650
- Joined: Thu Dec 19, 2024 3:41 pm
Re: Break a Button value into two lines
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:
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
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;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
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
- BaconFries
-

- Posts: 6274
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Break a Button value into two lines
Probably the easiest way to achieve is to just use a themeable Button.
- AliGW
-

- Posts: 650
- Joined: Thu Dec 19, 2024 3:41 pm
Re: Break a Button value into two lines
Which one is that in the Toolbox? I can't see an object with that name.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
- BaconFries
-

- Posts: 6274
- Joined: Thu Aug 16, 2007 7:32 pm
- AliGW
-

- Posts: 650
- Joined: Thu Dec 19, 2024 3:41 pm
Re: Break a Button value into two lines
Mmm ... I was looking for Themeable Button.
I didn't realise that an icon button could exist without an icon - we live and learn!!!
I didn't realise that an icon button could exist without an icon - we live and learn!!!
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
