가로 부트 스트랩 양식에서 여러 행으로 이미지를 스패닝하는 것과 관련하여 질문이 있습니다. 현재 상황은 다음 그림과 같습니다. 그러나 왼쪽의 프로필 이미지를 입력 필드의 여러 행으로 확장하고 싶습니다. 이제는 두 번째 입력 필드를 어떤 이유로 든 푸시 다운합니다. 그럴 수는 없습니다. 나는 아직이 모든 것을 경험하지 못했습니다. 그래서 나는 꼼짝 못한다. 찾을 수있는 모든 솔루션은 부트 스트랩 그리드 시스템을 대상으로하며 부트 스트랩 양식에만 적용 가능하지 않습니다. 다른 사람이이 경험이 있거나 이것을하는 방법을 알고 있습니까? 현재 코드 스 니펫은 아래에서 찾을 수 있습니다. 미리 감사드립니다! 부트 스트랩 : 이미지가 여러 행에 걸쳐 형태로 표시됩니다.
<!-- Basic information -->
<h4>Algemeen</h4>
<img src="./img/profile-edit.png" class="col-sm-2 img-profile-edit col-profile"></img>
<form class="form-horizontal">
<div class="form-group form-group-sm">
<label for="name" class="col-sm-3">Voornaam:</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="name">
</div>
</div>
<div class="form-group form-group-sm ">
<label for="surname" class="col-sm-3">Achternaam:</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="surname">
</div>
</div>
<div class="form-group form-group-sm">
<label for="gender" class="col-sm-3">Geslacht:</label>
<div class="col-sm-6" id="gender">
<label class="radio-inline"><input type="radio" name="optman">Man</label>
<label class="radio-inline"><input type="radio" name="optwomen">Vrouw</label>
</div>
</div>
<div class="form-group form-group-sm">
<label for="dob" class="col-sm-3">Geboortedatum:</label>
<div class="col-sm-6">
<input type="date" format="dd/MM/yyyy" class="form-control" id="dob">
</div>
</div>
</form>
그리고 관련 CSS 클래스 :
.img-profile-edit {
border-radius:15%;
overflow:hidden;
}
@media (min-width: 768px) {
.col-profile {
float: right;
padding: 0 5px;
}
}
편집 : 코드에 너무 많은 부모 <div>
답장을 보내 주셔서 감사합니다. 그게 정확히 내가 성취하려했던 것이 아닙니다. 이미지가 입력 필드의 오른쪽에 있으면 좋겠어. 이미지가 양식의 여러 행에 걸쳐있게됩니다. [이 이미지] (http://imgur.com/a/xMUNR)와 같이 편집 : 방금 전체 화면으로 스 니펫을 보았습니다. 내 잘못이야! 내가 말하는 것처럼 이걸 시도해. – jensbrulmans
나는 그걸 당신의 발췌 문장과 함께 처리했습니다! 고마워요! – jensbrulmans