positioning button inside div
snippet in html

positioning button inside div

user6845


.button-div {
  position: relative;
}

.button {
  position: absolute;
  top:;     <!-- declare your own positioning -->
  left:;
}

positioning button inside div

user3155

<div class="button-div">
  <button class="button" type="button" name="button"></button>
</div>