Ver Mensaje Individual
  #7 (permalink)  
Antiguo 09/08/2010, 10:13
Avatar de chichote
chichote
Colaborador
 
Fecha de Ingreso: diciembre-2004
Ubicación: Santiago - Chile
Mensajes: 1.868
Antigüedad: 19 años, 4 meses
Puntos: 145
Respuesta: Crear div con altura fija y scroll horizontal

Perdon no te habia entendido, pero con el ejemplo q te di es muy simple, metes una imagen por cada columna y dejas el table sin width.


quedaria si

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>
<style>
.scroll
	{
	width:200px;
	height:100px;
	overflow: auto;
	border:1px solid #000000; /* Solo lo puse para que se vea el cuadro*/
	}
.titulo
	{
	color: #000000;
	background:#00FF00;
	font-weight: bold;
	}
</style>
<body>
<div class="scroll">
<table>
  <tr>
    <td class="titulo">COLUMNA1</td>
    <td class="titulo">COLUMNA2</td>
    <td class="titulo">COLUMNA3</td>
    <td class="titulo">COLUMNA4</td>
    <td class="titulo">COLUMNA5</td>
    <td class="titulo">COLUMNA6</td>
  </tr>
</table>
</div>
</body>
</html> 
saludos
__________________
http://chicho.ninja yiaaaa

Última edición por chichote; 09/08/2010 a las 10:16 Razón: agregar mas contenido