Code Fixed:
<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Medios de Contacto</h3>
<hr>
<address>
Correo: ejemplo@grupocolonnello.com.mx
Teléfono: (555)123-4567
</address>
/GrupoColonnello
/GrupoColonnello
</div>
<div class="col-sm-8 contact-form">
<form id="contact" method="post" class="form" role="form">
<div class="row">
<div class="col-xs-6 col-md-6 form-group">
<input class="form-control" id="name" name="name" placeholder="Nombre" type="text" required="" autofocus=""/>
</div>
<div class="col-xs-6 col-md-6 form-group">
<input class="form-control" id="email" name="email" placeholder="Correo" type="email" required=""/>
</div>
</div>
<textarea class="form-control" id="message" name="message" placeholder="¿En qué le podemos ayudar?" rows="5"></textarea>
<div class="row">
<div class="col-xs-12 col-md-12 form-group">
<button class="btn btn-primary pull-right" type="submit">Enviar</button>
</div>
</div>
</form>
</div>
</div>
</div>
baezbz () - 10 years ago - Reply 0
I use Laravel for everything PHP related, I could only give you an example with Laravel.
maxsurguy () - 10 years ago - Reply 0
My footer was getting to the top of my page until I added the two extra closing div tags. Thanks.
Wini () - 10 years ago - Reply 0
i dont know what i did wrong it wont send the message it just redirects then says 404 error page not found...i dont know if its cuz am using wordpress framework
Stevie Dlunder () - 10 years ago - Reply 0
As Stijn said, the HTML code is broken. This was not expected..
These two divs dont have closing tags, also I could see its utility just before form close.
<div class="row">
<div class="col-xs-12 col-md-12 form-group">
There should be 3 closing div tags after </form> (only 2 closing). For <div class="col-sm-8 contact-form">, <div class="row"> and <div class="container"> respectively.
Prakhar Goel () - 11 years ago - Reply 0