+ 2
How do you align buttons to where you want them?
^^^Above^^^
5 odpowiedzi
+ 4
In HTML,
<button>
hi
</button>
In CSS,
button {
text-indent: 50%;
/*(This will align to center)*/
}
+ 3
align="left"/"center"/"right"
+ 3
i mean the BUTTON itself...
+ 3
button{
position: absolute;
top: 5px;
left: 40px;
}
+ 2
You can also make their position absolute
position: absolute;
and change it with top left bottom and right
top: 5px;
left: 40px;