Foros del Web » Creando para Internet » HTML »

Fijar el tamaño de una fila

Estas en el tema de Fijar el tamaño de una fila en el foro de HTML en Foros del Web. Hola estoy haciendo una factura en html, tengo mi imagen de fondo y mis datos a facturar, el problema es que 'apartentemente' le asigno un ...
  #1 (permalink)  
Antiguo 16/09/2008, 22:18
Avatar de Yedi  
Fecha de Ingreso: junio-2006
Ubicación: México
Mensajes: 159
Antigüedad: 17 años, 8 meses
Puntos: 2
Pregunta Fijar el tamaño de una fila

Hola estoy haciendo una factura en html, tengo mi imagen de fondo y mis datos a facturar, el problema es que 'apartentemente' le asigno un tamaño en especifico para poner lo productos q deseo facturar, pero resulta q si pongo 10 productos las filas de abajo que son de total e iva se bajan demasiado saliendose del cuadro. Y por el contrario solo si facturo un producto se colocan muy arriba los totales.
Me podrian ayudar q como fijas la altura de mi fila para q no se muevan mis datos..
de antemano agredezco su ayuda
  #2 (permalink)  
Antiguo 16/09/2008, 23:36
Avatar de kaninox  
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 18 años, 6 meses
Puntos: 49
Respuesta: Fijar el tamaño de una fila

si estas usando tablas solo con darle ancho y altos fijos digo sin porcentajes estarias bien
__________________
Gokuh Salvo al mundo. PUNTO!!!!
  #3 (permalink)  
Antiguo 16/09/2008, 23:42
Avatar de Yedi  
Fecha de Ingreso: junio-2006
Ubicación: México
Mensajes: 159
Antigüedad: 17 años, 8 meses
Puntos: 2
Respuesta: Fijar el tamaño de una fila

Hola gracias por tu respuesta, pero ya lo hize le asigne un tamaño no en porcentaje sino en pixeles pero aun asi se desplaza mi fila, de echo solo utilizo el porcentaje para las columnas..he aqui mi codigo
Código:
 <table height="804" border="0" background="factura.jpg" class="Estilo3">
    <tr>
      <td height="118" colspan="5">&nbsp;</td>
    </tr>
    <tr>
      <td height="122" colspan="5"><table width="168" height="24" border="0" align="center">
          <tr>
            <td width="162" height="20" valign="bottom"><?php echo $fecha; ?></td>
          </tr>
        </table>
        <table width="334" border="0" align="center">
          <tr>
            <td width="35" height="20"><?php echo $factdia; ?></td>
            <td width="134"><?php echo $factmes; ?></td>
            <td width="151"><?php echo $factano; ?></td>
          </tr>
        </table>
        <table width="508" border="0">
          <tr>
            <td width="15%" height="20">&nbsp;</td>
            <td width="85%"><?php echo $factname; ?></td>
          </tr>
        </table>
        <table width="508" height="16%" border="0">
          <tr valign="top">
            <td width="15%" height="20">&nbsp;</td>
            <td width="85%"><?php echo $factdir; ?></td>
          </tr>
        </table>
        <table width="508" height="24" border="0">
          <tr>
            <td width="15%" height="20" valign="top">&nbsp;</td>
            <td width="55%" valign="top"><?php echo $factrfc; ?></td>
            <td width="35%" valign="top"> <?php echo $factcp; ?></td>
          </tr>
        </table>      </td>
    </tr>
    <tr>
      <td height="44">&nbsp;</td>
    </tr>
    <tr>
      <td height="70" colspan="5"><table width="132" border="0" align="right" class="Estilo3">
                      <tr>
                        <td width="91" ><div align="left"><?php echo $subtotal; ?></div></td>
                      </tr>
                      <tr>
                        <td ><div align="left"><?php echo $ivafinal; ?></div></td>
                      </tr>
                      <tr>
                        <td ><div align="left"><?php echo $preciofinal; ?></div></td>
                      </tr>
      </table></td>
    </tr>
    <tr>
      <td height="33" colspan="5"></td>
    </tr>
</table>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:40.