, 내가 얻을 수있는 세 가지 전체 높이 열 다음 HTML/CSS와부트 스트랩 * 세로 * 부트 스트랩에 폭 관리를 위임하지 않고 응답
.
<!DOCTYPE html>
<head>
<style>
div {
position: fixed;
border: 5px dashed blue;
box-sizing: border-box;
}
.left {
height: 100%; top: 0;
width: 33%; left: 0;
}
.middle {
height: 100%; top: 0;
width: 33%; left: 33%;
}
.right {
height: 100%; top: 0;
width: 34%; left: 66%;
}
h2.text-center {
text-align: center;
}
</style>
</head>
<body>
<div class="left">
<h2 class="text-center">Left</h2>
</div>
<div class="middle">
<h2 class="text-center">Middle</h2>
</div>
<div class="right">
<h2 class="text-center">Right</h2></div>
</div>
</body>
는 부트 스트랩의 폭을 처리 할 수 있도록하기 위해, 나는 (
1,
2,
3
4을)이 문제에 대한 부트 스트랩, 다른 이전 논의와 함께 작동하지 않습니다
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet"
href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<style>
body {
min-height: 100%;
border: 3px solid green;
}
.fullheight {
min-height: 100%;
border: 3px solid blue;
/* position: absolute; */
}
</style>
</head>
<body>
<div class="container-fluid fullheight">
<div class="row fullheight">
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Left</h2>
</div>
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Middle</h2>
</div>
<div class="col-xs-4 col-md-4">
<h2 class="text-center">Right</h2>
</div>
</div>
</div>
</body>
Switching position to absolute
을 썼다 도움이 안돼.폭을 부트 스트랩으로 관리 할 때 높이를 100 %로 설정하는 방법은 무엇입니까?
DIV를 100 % 높이로 설정하는 부트 스트랩 방식이 있다면 더 좋을 것입니다.
간단히 %' – Roberrrt
(100)의 의견을 기반으로 특성을 차치'가 부트 스트랩 클래스에'분 - height' 적용을 이 질문 - http://stackoverflow.com/questions/19695784/how-can-i-make-bootstrap-columns-all-the-same-height –
@Roberrrt 위의 두 번째 코드에서'.fullheight' 클래스가 이미 수행합니다. 이. 무슨 뜻인지 자세히 설명해 주시겠습니까? – Calaf