+ 2

In HTML, how do i set the position of a button? Center it, left align, right align, move a few pixels up or down ect?

16th Nov 2019, 9:16 PM
pixel strength
pixel strength - avatar
4 Réponses
0
align="center", as for positioning up or down I'd suggest using CSS
16th Nov 2019, 9:50 PM
Michael
Michael - avatar
0
Thx Michael but how do i do it in CSS then?
16th Nov 2019, 9:51 PM
pixel strength
pixel strength - avatar
0
pixel strength by using attributes like top: 50px within proper css style formatting. You'll want the position set to absolute to do it this way. I suggest doing the CSS course if you haven't already.
16th Nov 2019, 10:02 PM
Michael
Michael - avatar