Page 1 of 1

&#10 instead of <br> inside text of a button

Posted: Sun Mar 21, 2021 3:57 am
by Zim
About the buttons, the problem comes from the use of <br> inside the text string.
This cause a problem in the global HTML code.
To have the expected effect, replace <br> with its equivalent &#10;

So your lines become :
A$ = A$ + button$("<b><big>Quick set to&#10;5 deg.</big><b/>", Qset5, "but1")

A$ = A$ + button$("<b><big>Quick set to&#10;15 deg.</big><b/>", Qset15, "but2")


Thanks cicciocb