button inside div referencing itsel code example
Example 1: positioning button inside div
.button-div {
position: relative;
}
.button {
position: absolute;
top:; <!-- declare your own positioning -->
left:;
}
Example 2: positioning button inside div
<div class="button-div">
<button class="button" type="button" name="button"></button>
</div>