인라인 블록 요소 정렬 :수직으로 내가 그렇게 할 수 있다고 생각했다
<div style='height:100px;vertical-align:middle;border:1px solid red;'>
<div style='display:inline-block;'>hi there</div>
<div style='display:inline-block;'>hi there</div>
</div>
을하고 div의 내부 중앙에 수직으로 정렬 얻을 것이다, 그러나 어떤 이유로이, 작동하지 않습니다 내가이 atm을 달성하는 유일한 방법은 (line-height = height를 사용하여) 다음과 같이 행한다 :
<div style='height:100px;border:1px solid red;line-height:100px;'>
<div style='display:inline-block;'>hi there</div>
<div style='display:inline-block;'>hi there</div>
</div>
무엇이 적절한 방법인가?
가능한 중복 사용> [CSS를 - 수직 DIV 내용을 정렬 (http://stackoverflow.com/questions/1881245/css-vertically-align-div-content) – j08691