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?
Announcement
Collapse
No announcement yet.
How do I place a button at a specific point on the webpage
Collapse
X
-
Hi there,
The method that I use to position objects is CSS, see below:
Code:<html> <head> </head> <body> <input type="button" value="Button" style="margin:50px 100px 150px 200px"> </body> </html>
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.
-
-
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.Teed
Comment
-
Comment