How to align an input tag to the center without specifying the width?

后端 未结 7 1522
不思量自难忘°
不思量自难忘° 2020-12-24 11:30

I have these HTML and CSS:

7条回答
  •  天命终不由人
    2020-12-24 11:53

    You can also use the tag, this works in divs and everything else:

    This link will help you with the tag:

    Why is the

    tag deprecated in HTML?

提交回复
热议问题