Ver Mensaje Individual
  #9 (permalink)  
Antiguo 04/12/2007, 11:46
fuentessoft
 
Fecha de Ingreso: junio-2007
Mensajes: 4
Antigüedad: 16 años, 10 meses
Puntos: 0
Re: Firefox y overflow:auto

Cita:
Iniciado por RootK Ver Mensaje
Porque no lo haces dandole en pixeles a tu <td> y en porcentaje a tu DIV para que no tengas problemas con FF.

algo así:



o todo lo necesitas en porcentaje..??

Salu2
mira tengo este ejemplo pero funciona en firefox y en opera safari pero no funciona en ie alguien me puede ayudar con esta solucion

<style type="text/css">
<!--
.text {color: #FFFFFF; font-weight: bold; font-size: 16px; font-family: Geneva, Arial, Helvetica, sans-serif; }
.class{ overflow:auto;overflow-x:hidden; width:100%; padding-right:100px; height:150px; top:40px;}
/*<tbody id="datos" style="height:10px; top:40px; overflow-y:auto;"> */
-->
</style>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC">

<thead>
<tr>
<td width="200" class="text"bgcolor="#003366">Columna Demo 1</td>
<td width="200" class="text" bgcolor="#003366">Columna Demo 2</td>
<td width="200" class="text" bgcolor="#003366">Columna Demo 3</td>
</tr>
</thead>

<tbody id="datos" class="class">
<!--<tbody id="datos" style="height:200px; top:40px; overflow:scroll; width:100%;"> -->
<!--<tbody id="datos" style="height:100px; top:40px; overflow-y:auto;">-->
<tr>
<td>a</td>
<td>1</td>
<td>s</td>
</tr>
<tr>
<td>d</td>
<td>2</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>3</td>
<td>f</td>
</tr>
<tr>
<td>f</td>
<td>4</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>5</td>
<td>s</td>
</tr>
<tr>
<td>d</td>
<td>6</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>7</td>
<td>f</td>
</tr>
<tr>
<td>f</td>
<td>8</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>9</td>
<td>s</td>
</tr>
<tr>
<td>d</td>
<td>10</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>11</td>
<td>f</td>
</tr>
<tr>
<td>f</td>
<td>12</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>13</td>
<td>s</td>
</tr>
<tr>
<td>d</td>
<td>14</td>
<td>f</td>
</tr>
<tr>
<td>a</td>
<td>15</td>
<td>f</td>
</tr>
<tr>
<td>f</td>
<td>16</td>
<td>f</td>
</tr>
</tbody>
</table>