My problem is that I can't make the div megrendeles_right_box
always 100% height.
I tried with height:100%;
and min-height:100%;
, but it's not working properly except for the padding.
Also, I wrote these styles for the body, but it's still not working.
Does this problem occur only because of using Bootstrap? I've added my styles here.
What am I doing wrong?
<div class="megrendeles_main_container">
<div class="col-md-6 megrendeles_left_box">
<form method="post">
<h2 class="megrendeles_form_title">Személyes adatok</h2>
<div class="form-group col-md-4">
<span class="megrendeles_input_title">Vezetéknév *</span>
<input required type="text" name="user_vnev" id="user_vnev" class="form-control megrendeles_input_2 input-lg" value="">
</div>
<div class="form-group col-md-4">
<span class="megrendeles_input_title">Keresztnév *</span>
<input required type="text" name="user_knev" id="user_knev" class="form-control megrendeles_input_2 input-lg" value="">
</div>
<div class="clearfix"></div>
<div class="form-group col-md-8">
<span class="megrendeles_input_title">E-mail *</span>
<input required type="text" name="user_email" id="user_email" class="form-control megrendeles_input_2 input-lg" value="">
</div>
<div class="clearfix"></div>
<div class="form-group col-md-8">
<span class="megrendeles_input_title">Telefonszám *</span>
<input required type="text" name="user_tel" id="user_tel" class="form-control megrendeles_input_2 input-lg" value="">
</div>
</form>
</div>
<div class="col-md-6 megrendeles_right_box">
</div>
<div class="clearfix"></div>
Some css for this:
.megrendeles_main_container{ width:100%; }
.megrendeles_form_title{ padding:0 15px; display:block; margin-bottom:15px; color:#1e1e1e; font-size:22px; font-weight:700; }
.megrendeles_left_box{ background:#fff; height:100%; padding:40px; }
.megrendeles_right_box{ background:#efefef; height:100%; padding:40px; }