I want to have a button center an image or have it put it in a certian location.

What code would i have to use?