Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/03/2011, 10:19
gorbejea
 
Fecha de Ingreso: julio-2009
Mensajes: 41
Antigüedad: 14 años, 9 meses
Puntos: 1
ancho maximo a una columna

Hola estoy intentando redimensionar un td pero por mucho que intento no me redimensiona, me lo deja siempre como está y ya no se que más hacer. Dejo un trozo de codigo para que lo mireis y me digais.

Gracias.

<td rowspan="<%=contador+1%>" colspan="0" width="10"><%=l_zonas.getZonas().get(x).getNomzon() %></td>

<%
}
%>
<td align="left"><div style="height:12; width:98;"><%=l_hotZon.get(y).getNomhot() %></div></td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getTotH ab(l_hotZon.get(y).getCodhot(),p_fecha,p_fecha)-l_habHistorico.getBloHab(l_hotZon.get(y).getCodhot (),p_fecha,p_fecha))%></div> </td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getBloH ab(l_hotZon.get(y).getCodhot(),p_fecha,p_fecha))%> </div> </td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getTotH ab(l_hotZon.get(y).getCodhot(),p_fecha,p_fecha))%> </div> </td>
</tr>
<%
}
%>
<tr bgcolor="#CCCCCC">
<td align="left"><div style="height:12; width:90;">Total Zona</div></td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getTotH abZon(l_zonas.getZonas().get(x).getCodzon(),l_hote les,p_fecha,p_fecha) - l_habHistorico.getTotBloZon(l_zonas.getZonas().get (x).getCodzon(),l_hoteles,p_fecha,p_fecha))%></div></td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getTotB loZon(l_zonas.getZonas().get(x).getCodzon(),l_hote les,p_fecha,p_fecha))%></div></td>
<td align="right"><div style="height:12; width:20;"><%=entero.format(l_habHistorico.getTotH abZon(l_zonas.getZonas().get(x).getCodzon(),l_hote les,p_fecha,p_fecha))%></div></td>
</tr>

<%
}
%>
<tr bgcolor="#BBBBBB">
<td colspan="2" align="left"><div style="height:12; width:5;">Total</div></td>
<td align="right"><div style="height:12; width:10;"><%=entero.format(l_habHistorico.getTotH abZon(null,l_hoteles,p_fecha,p_fecha) - l_habHistorico.getTotBloZon(null,l_hoteles,p_fecha ,p_fecha))%></div></td>
<td align="right"><div style="height:12; width:10;"><%=entero.format(l_habHistorico.getTotB loZon(null,l_hoteles,p_fecha,p_fecha))%></div></td>
<td align="right"><div style="height:12; width:10;"><%=entero.format(l_habHistorico.getTotH abZon(null,l_hoteles,p_fecha,p_fecha))%></div></td>
</tr>
<tr>
<td><div style="height:16; width:90"></div></td>
<td><div style="height:16; width:130"></div></td>
<td><div style="height:16; width:30"></div></td>
<td><div style="height:16; width:30"></div></td>
<td><div style="height:16; width:10"></div></td>
</tr>