24/02/2016, 18:21
|
| | Fecha de Ingreso: diciembre-2015 Ubicación: Veracruz
Mensajes: 7
Antigüedad: 9 años Puntos: 0 | |
se desbordan las columnas usando bootstrap bien mi problema es que tengo el siguiente código, pero como son muchas columnas, se despliegan todas las columnas en el navegador. lo quiero es que aparescan las barras desplazadoras o scroll bar tanto horizontal como vertical.
Cabe mencionar que estas barras solo aparecen cuando minimizo el navegador. Pero yo quiero que aparescan en dentro del panel y sin desbordamiento.
Lo que estoy intentado es con bootstrap pero en los manuales que he buscado solo me dice que apareceran las barras cunado el navegador tenga una anchura menor a 768px.
Mi código es:
<!doctype html>
<html lang="es">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<title>Liberados</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/estilos.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class=" panel panel-default">
<div class="panel-heading panel-fixed ">
<h4>
Fixed Header Scrolling Table
</h4>
</div><!--div panel head-->
<div class="panel-body">
<div class=" table-responsive">
<table class="table header-fixed " >
<thead>
<tr>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
<th >#</th><th >Name</th><th >Points</th>
</tr>
</thead>
<tbody >
<tr>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
</tr>
<tr>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
<td >1</td><td >Mike Adams</td><td >23</td>
</tr>
</tbody>
</table>
</div>
</div><!--div panel body-->
</div><!--div panel-default-->
</div><!--div col-xs-->
</div><!--div row-->
</div><!--div container-->
<!-- Js vinculados -->
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="js/responsive.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html> |