View Full Version : How do I place a button at a specific point on the webpage

09-04-2011, 07:57 PM
How do I place a button at a specific point on the webpage, somehow type co ordinates of a point on the page and the button will appear there?

Dom Mv
09-04-2011, 08:12 PM
Hi there,

The method that I use to position objects is CSS, see below:

<input type="button" value="Button" style="margin:50px 100px 150px 200px">

You can adjust the margin figures to change the position of the button.

Top margin is 50px
Right margin is 100px
Bottom margin is 150px
Left margin is 200px

I hope this helps, let me know if you need any further assistance.

09-05-2011, 02:25 AM
You dont provide any details in your question, nor code you've already tried. PLacing a button depends of many factors. First, is this an image? or a submit button in a form? Where would you like the button? That also depends on its parent or containing element.

Please post your code or live site link, and detail where you'd like the button on your page.