+ 7
How to align the elements of the <input> tag to the center on HTML?
I want to align the elements of the <input> tag to the center of the webpage. But no idea how to that. I have tried <input align="center"> but it didn't work..
7 Respuestas
+ 7
put the <input> tag in a <div> container:
<div style="text-align:center;"><input /></div>
+ 7
CSS Pro Tips: Centering Elements by Domino
https://www.sololearn.com/post/37760/?ref=app
+ 6
But the all input in one div tag, then align the div tag to the center!
+ 2
input is an inline element so to align it to the center ,you have to englobe it in a block element and apply some css to it.
+ 1
Align doesn't work on img either. For these you have to put them in a container and align the container.
0
php call. php
0
Same problem