+ 2

How do you align buttons to where you want them?

^^^Above^^^

20th Dec 2017, 2:10 PM
JOHNTHEBUN
JOHNTHEBUN - avatar
5 ответов
+ 4
In HTML, <button> hi </button> In CSS, button { text-indent: 50%; /*(This will align to center)*/ }
28th Jun 2018, 9:07 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 3
align="left"/"center"/"right"
20th Dec 2017, 2:32 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 3
i mean the BUTTON itself...
20th Dec 2017, 2:35 PM
JOHNTHEBUN
JOHNTHEBUN - avatar
+ 3
button{ position: absolute; top: 5px; left: 40px; }
28th Jun 2018, 9:11 PM
Jax
Jax - avatar
+ 2
You can also make their position absolute position: absolute; and change it with top left bottom and right top: 5px; left: 40px;
28th Jun 2018, 9:10 PM
Jax
Jax - avatar