"No more tables (responsive table)"
Bootstrap 3.1.0 Snippet by ccela

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-12"> <h3 class="text-center"> Orden de Programación </h3> </div> <div id="no-more-tables"> <table class="col-md-12 table-bordered table-striped table-condensed cf"> <thead class="cf"> <tr> <th>Fecha</th> <th>Comprador</th> <th>Logística</th> <th>F. Despacho</th> <th>Tipo</th> <th>F. Destino</th> <th>Lugar/Destino</th> <th class="numeric">Bines</th> <th class="numeric">Kavetas Caladas</th> <th class="numeric">Kavetas Cónicas</th> <th>Otros Materiales</th> </tr> </thead> <tbody> <tr> <td data-title="Fecha">21/04/2015</td> <td data-title="Comprador">ENNA ARAUJO DE SANCHEZ</td> <td data-title="Logistica">EXPALSA</td> <td data-title="Despacho">21/04/2015</td> <td data-title="Tipo">D</td> <td data-title="Destino">21/04/2015</td> <td data-title="Lugar">ISLA MALABRIGO</td> <td data-title="Bines" class="numeric">16</td> <td data-title="K. Calada" class="numeric">30</td> <td data-title="k. Conicas %" class="numeric">500</td> <td data-title="Otros M." class="numeric">MetalSufito</td> </tr> </tbody> </table> </div> <div class="col-md-12"> <h3 class="text-center"> Detalle de Productos </h3> </div> <div id="no-more-tables"> <table class="col-md-12 table-bordered table-striped table-condensed cf"> <thead class="cf"> <tr> <th>Proveedor</th> <th>Producto</th> <th>Certificacion</th> <th class="numeric">Gramaje</th> <th class="numeric">Libras</th> <th>Color</th> </tr> </thead> <tbody> <tr> <td data-title="Proveedor">LOPEZ TOLEDO EZEQUIEL HUMBERTO</td> <td data-title="Producto">Entero</td> <td data-title="Certificacion">Convencional</td> <td data-title="Gramaje" class="numeric">20</td> <td data-title="Libras" class="numeric">16000</td> <td data-title="Color">Color</td> </tr> </tbody> </table> </div> <div class="col-md-12"> <h3 class="text-center"> Detalle de Vehículos </h3> </div> <div id="no-more-tables"> <table class="col-md-12 table-bordered table-striped table-condensed cf"> <thead class="cf"> <tr> <th>Tipo de Vehículo</th> <th>Cantidad</th> </tr> </thead> <tbody> <tr> <td data-title="Proveedor">Lancha</td> <td data-title="Cantidad" class="numeric">1</td> </tr> </tbody> </table> </div> </div> <div class="row"> <p class="bg-success" style="padding:10px;margin-top:20px"><small> Correo enviado al usuario jorge_bernal@expalsa.com con Exito !!!</small></p> </div> </div>
@media only screen and (max-width: 800px) { /* Force table to not be like tables anymore */ #no-more-tables table, #no-more-tables thead, #no-more-tables tbody, #no-more-tables th, #no-more-tables td, #no-more-tables tr { display: block; } /* Hide table headers (but not display: none;, for accessibility) */ #no-more-tables thead tr { position: absolute; top: -9999px; left: -9999px; } #no-more-tables tr { border: 1px solid #ccc; } #no-more-tables td { /* Behave like a "row" */ border: none; border-bottom: 1px solid #eee; position: relative; padding-left: 50%; white-space: normal; text-align:left; } #no-more-tables td:before { /* Now like a table header */ position: absolute; /* Top/left values mimic padding */ top: 6px; left: 6px; width: 45%; padding-right: 10px; white-space: nowrap; text-align:left; font-weight: bold; } /* Label the data */ #no-more-tables td:before { content: attr(data-title); } }

Related: See More


Questions / Comments: