Ask coding questions

← Back to all posts
struggling to position text boxes
Pizzaz4me (63)

so, I learned how to make text boxes for my project, but, I don't know how to position them. How do I? my goal is to get the text box close to the button. And this is just a joke, not trying to compete with repl.it. Just doing this to refresh my knowledge of html and css programming.

Answered by Coder100 (18059) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18059)

ez

<div style="position: absolute; bottom: 10px; left: 10px;">
  i am now in the bottom right corner!!
</div>

don't forget the position: absolute!;