Dynamically create and position button: center/bottom
I'm trying to dynamically create a basic button (to launch an action onclick) on a page that has a centered 640X640 canvas. The page is set up as 750X750. The button would need tobe at center bottom below the canvas (can be 20 px below, for example).
So far, using the following, I can get it to work OK. But done by "trial and error." Not sure as beginner what would be the correct way to accomplish this, since need to also place additional buttons dynamically on this and other similar pages.
Any help appreciated.
Thank you for your help.
<button name="start" type="button" onclick="starter()"
border:1px solid black;