html - Solution for Footer Css Styling Error -


my footer not lapping after div before when switch mobile view, looks akward.

mobile view

desktop view

here code sample name

                      <div class="row row-sm-offset">                     <div class="col-md-4 multi-horizontal" data-for="email">                        <div class="form-group" style="color: #fff;">                             <label class="form-control-label mbr-fonts-style display-7" for="email-form1-h">email</label>                             <input type="email" class="form-control" name="email" data-form-field="email" required="" placeholder="e-mail" id="email-form1-h">                         </div>                     </div>                     </div>                      <div class="row row-sm-offset">                     <div class="col-md-4 multi-horizontal" data-for="phone">                         <div class="form-group" style="color: #fff;">                             <label class="form-control-label mbr-fonts-style display-7" for="phone-form1-h">phone</label>                             <input type="tel" class="form-control" name="phone" data-form-field="phone" placeholder="phone #" id="phone-form1-h">                         </div>                     </div>                 </div>                  <div class="row row-sm-offset">                     <div class="col-md-4 multi-horizontal" data-for="phone">                 <div class="form-group" style="color: #fff;">                     <label class="form-control-label mbr-fonts-style display-7" for="message-form1-h">message</label>                     <textarea type="text" class="form-control" name="message" rows="7" data-form-field="message" placeholder="message" id="message-form1-h"></textarea>                 </div>                 </div>                 </div>                  <span class="input-group-btn"><button href="" type="submit" class="btn btn-primary btn-form display-4"><span class="mbri-paper-plane mbr-iconfont mbr-iconfont-btn"></span>send message</button></span>             </form> 

i'd appreciate support. thanks

i have feeling can use clearfix fix issue, without more context , code hard answer.

just google if don't know clearfix.

updated answer:

add div after form tag ends this...

<div class="clearfix"></div> 

then add style css.

.clearfix:after {    content: " ";    visibility: hidden;    display: block;    height: 0;    clear: both;  } 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -