How to manipulate position of this button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to manipulate position of this button?

i've tried using x:100px; but it didn't work https://code.sololearn.com/WO5oFlZwzlTo/?ref=app

27th Jan 2018, 1:43 PM
Code Ninja
Code Ninja - avatar
6 Answers
+ 3
sure you can. alternstively you can put your elements into div containers and use absolute poditions, i.e. specifying their starting points on the x and y axes/distances from the top left corner of your page.
27th Jan 2018, 7:29 PM
storm
storm - avatar
+ 2
try using "margin". if you want to shift the button to the right, use "margin-left: 40px;"
27th Jan 2018, 2:12 PM
storm
storm - avatar
+ 1
you're welcome.
27th Jan 2018, 2:31 PM
storm
storm - avatar
+ 1
yes you can use margin to shift the position of any element.
27th Jan 2018, 4:35 PM
Naveen Kumar K
Naveen Kumar K - avatar
0
thank you storm that's exactly what I needed
27th Jan 2018, 2:19 PM
Code Ninja
Code Ninja - avatar
0
hey, can i use margin to shift position of a image
27th Jan 2018, 2:42 PM
Code Ninja
Code Ninja - avatar