격자 시스템에 부트 스트랩을 사용하고 있는데, 내부에 일부 텍스트를 세로로 정렬하기 위해 col-6의 높이를 100 %로 만드는 데 문제가 있습니다.Div 높이 100 %가 작동하지 않음 - 부트 스트랩
<div class="row">
<div class="col-lg-6 col-sm-12 center ">
<img alt=" " class="img-responsive" src="assets/images/sitewide/mainpageeconomy.jpg">
</div>
<div class="col-lg-6 col-sm-12 fillme">
<p>We also offer a 30 foot Grady White center console. She's more of a hardcore no frills fishing vessel, we normally take her 20 to 40 miles offshore for bottom fishing and trolling for game fish up to 4 anglers.</p>
</div>
</div>
fillme 클래스
도움이 많이 감사 높이 100 % 분의 높이를 갖는다.
업데이트 - 나는 이것에 대해 blog post을 썼습니다! 편리하게 사용할 수있는 훌륭한 코드입니다.
아래의 Lochemage의 대답은 정확합니다. '.fillme'을 부모의 높이로하고 싶다면 그 부모에 높이를 설정해야합니다. '.row {height : 500px;} '를 추가하면 그 부분을 해결할 수 있습니다. – cjspurgeon