Ver Mensaje Individual
  #54 (permalink)  
Antiguo 15/12/2004, 17:58
Zhak
 
Fecha de Ingreso: mayo-2004
Ubicación: Santiago
Mensajes: 122
Antigüedad: 19 años, 11 meses
Puntos: 0
Faq 62

P- ¿Cómo hago para que el texto de mi celda esté siempre arriba, al centro o abajo?
R- Debes poner valign en la etiqueta td, ejemplo:
Código HTML:
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="40" valign="top">Este texto est&aacute; alineado arriba </td>
  </tr>
  <tr>
    <td height="40" valign="middle">Este texto est&aacute; alineado al centro </td>
  </tr>
  <tr>
    <td height="40" valign="bottom">Este texto est&aacute; alineado abajo </td>
  </tr>
  <tr>
    <td height="40" valign="baseline">Este texto est&aacute; alineado en la l&iacute;nea de base </td>
  </tr>
</table> 
__________________
http://www.xtasy.cl