Answers for "how to align a button to right in html"

3

align button right

<input type="button" value="Click Me" style="float: right;">
Posted by: Guest on March-04-2020
2

how to right align a text button

.flex-box {
  display:flex;
  justify-content:space-between; //button with flex box
  outline: 2px dashed blue;
}

.flex-box-2 {
  display:flex;
  justify-content: flex-end;
  outline: 2px deeppink dashed;
}
Posted by: Guest on May-04-2020
-1

how to right align a text button

<p align="right">
  <input type="button" value="Click Me" />
</p>
Posted by: Guest on May-04-2020

Code answers related to "how to align a button to right in html"

Browse Popular Code Answers by Language