0
Pls how do I move the <input> attributes in HTML plsđđđ„șđ„ș
2 Respostas
+ 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!
+ 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;