0

Pls how do I move the <input> attributes in HTML pls🙏🙏đŸ„șđŸ„ș

12th Apr 2022, 6:57 PM
Rnx Gideon Ikioda
Rnx Gideon Ikioda - avatar
2 RĂ©ponses
+ 5
Use CSS: using position: absolute allows you to use the attributes top and right to move it how many pixels from the top and right you want the input to be *example*: <input style="position: absolute; top: 100px; right: 50px;"> This puts the input box 100 px from the top and 50px from the left. Hope this helps. Happy Coding!
12th Apr 2022, 7:37 PM
Kamil Hamid
Kamil Hamid - avatar
+ 3
You can use margin: Margin-left: <amount>; Margin-right: <amount>; Margin-top: <amount>; Margin-bottom: <amount>; Or just use the plain margin tag margin: topvalue rightvalue bottomvalue leftvalue;
12th Apr 2022, 10:24 PM
Dev-117
Dev-117 - avatar