input 태그는 기본적으로 display: inline-block 이다.
아래로 내려오는 이유는 충분한 width를 안줘서 일수도 있다.
width를 충분히 주면 옆으로 나란히 됨
stackoverflow.com/questions/26288241/how-can-i-make-inputs-display-inline
How can I make inputs display inline?
I can't seem to figure out how to display the two inputs in the following code as {display: inline} format so that they appear next to each other rather than on separate lines. I've looked at other...
stackoverflow.com
'Web > CSS' 카테고리의 다른 글
div안에 a 있을때 (0) | 2021.03.13 |
---|---|
linter site (0) | 2021.03.12 |
z-index 와 background-color (0) | 2021.01.12 |
[CSS]심화 : box-sizing 제대로 이해하기 (3) Vertical Properties, Percentage % (0) | 2020.09.09 |
[CSS]심화 : box-sizing 제대로 이해하기 (2) Horizontal Properties (0) | 2020.09.09 |
댓글