0
How do you align a button?
How to you align an button input?
1 ответ
+ 2
Place a button :
<div class="buttonTxt">
<button class="button">Button</button>
</div>
Using CSS , do this :
.buttonTxt {
text-align: center;
}
.button {
position: absolute;
top: 50%;
}
The above code makes the button appear at the center of the page, change the position inside the CSS to make it appear somewhere else.